rxtx: Fix permissions and format
* Don't make the Makefile executable * run dos2unix on the Makefile Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
cdc800874a
commit
85b33b9097
1 changed files with 49 additions and 49 deletions
98
libs/rxtx/Makefile
Executable file → Normal file
98
libs/rxtx/Makefile
Executable file → Normal file
|
@ -1,49 +1,49 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016 Dana H. Myers <k6jq@comcast.net>
|
# Copyright (C) 2016 Dana H. Myers <k6jq@comcast.net>
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=rxtx
|
PKG_NAME:=rxtx
|
||||||
PKG_VERSION:=2.2pre2
|
PKG_VERSION:=2.2pre2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_LICENSE:=LGPL-2.1
|
PKG_LICENSE:=LGPL-2.1
|
||||||
PKG_MAINTAINER:=Dana H. Myers <k6jq@comcast.net>
|
PKG_MAINTAINER:=Dana H. Myers <k6jq@comcast.net>
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
|
||||||
PKG_SOURCE_URL:=http://rxtx.qbang.org/pub/rxtx/
|
PKG_SOURCE_URL:=http://rxtx.qbang.org/pub/rxtx/
|
||||||
PKG_MD5SUM:=7eedb18e3f33a427e2b0e9be8ce3f94c
|
PKG_MD5SUM:=7eedb18e3f33a427e2b0e9be8ce3f94c
|
||||||
|
|
||||||
PKG_FIXUP:=patch-libtool
|
PKG_FIXUP:=patch-libtool
|
||||||
PKG_CHECK_FORMAT_SECURITY:=0
|
PKG_CHECK_FORMAT_SECURITY:=0
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/rxtx
|
define Package/rxtx
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=RX/TX Support for Java serial communications
|
TITLE:=RX/TX Support for Java serial communications
|
||||||
URL:=http://rxtx.qbang.org/wiki/index.php/Main_Page
|
URL:=http://rxtx.qbang.org/wiki/index.php/Main_Page
|
||||||
DEPENDS:=+libpthread
|
DEPENDS:=+libpthread
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rxtx/description
|
define Package/rxtx/description
|
||||||
RX/TX Support for Java serial communications
|
RX/TX Support for Java serial communications
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--disable-PRINTER
|
--disable-PRINTER
|
||||||
|
|
||||||
define Package/rxtx/install
|
define Package/rxtx/install
|
||||||
$(INSTALL_DIR) \
|
$(INSTALL_DIR) \
|
||||||
$(1)/usr/lib/classpath
|
$(1)/usr/lib/classpath
|
||||||
$(CP) $(PKG_BUILD_DIR)/$(GNU_TARGET_NAME)-gnu/.libs/*.so \
|
$(CP) $(PKG_BUILD_DIR)/$(GNU_TARGET_NAME)-gnu/.libs/*.so \
|
||||||
$(1)/usr/lib/classpath/
|
$(1)/usr/lib/classpath/
|
||||||
$(CP) $(PKG_BUILD_DIR)/RXTXcomm.jar \
|
$(CP) $(PKG_BUILD_DIR)/RXTXcomm.jar \
|
||||||
$(1)/usr/lib/classpath/
|
$(1)/usr/lib/classpath/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,rxtx))
|
$(eval $(call BuildPackage,rxtx))
|
||||||
|
|
Loading…
Reference in a new issue