blob: 93abdb59f3963962a5a2f15b08eaa4d5264caf17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#
# Copyright (C) 2016 Dana H. Myers <k6jq@comcast.net>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=rxtx
PKG_VERSION:=2.2pre2
PKG_RELEASE:=1
PKG_LICENSE:=LGPL-2.1
PKG_MAINTAINER:=Dana H. Myers <k6jq@comcast.net>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
PKG_SOURCE_URL:=http://rxtx.qbang.org/pub/rxtx/
PKG_HASH:=3c30373e760f444def3650c76c5a00ae12fb1d860ec008750d084f4880495b03
PKG_FIXUP:=patch-libtool
PKG_CHECK_FORMAT_SECURITY:=0
include $(INCLUDE_DIR)/package.mk
define Package/rxtx
SECTION:=libs
CATEGORY:=Libraries
TITLE:=RX/TX Support for Java serial communications
URL:=http://rxtx.qbang.org/wiki/index.php/Main_Page
DEPENDS:=+libpthread
endef
define Package/rxtx/description
RX/TX Support for Java serial communications
endef
CONFIGURE_ARGS += \
--disable-PRINTER
define Package/rxtx/install
$(INSTALL_DIR) \
$(1)/usr/lib/classpath
$(CP) $(PKG_BUILD_DIR)/$(GNU_TARGET_NAME)-gnu/.libs/*.so \
$(1)/usr/lib/classpath/
$(CP) $(PKG_BUILD_DIR)/RXTXcomm.jar \
$(1)/usr/lib/classpath/
endef
$(eval $(call BuildPackage,rxtx))
|