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