lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1451B)


      1 #
      2 # Copyright (C) 2016 OpenWrt.org
      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:=libtool
     11 PKG_VERSION:=2.4.6
     12 PKG_RELEASE:=2
     13 
     14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
     15 PKG_SOURCE_URL:=@GNU/libtool
     16 PKG_MD5SUM:=1bfb9b923f2c1339b4d2ce1807064aa5
     17 PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
     18 PKG_LICENSE:=GPL-2.0+
     19 PKG_BUILD_DIR = $(BUILD_DIR)/libtool-bin/$(PKG_NAME)-$(PKG_VERSION)
     20 
     21 PKG_INSTALL:=1
     22 
     23 include $(INCLUDE_DIR)/package.mk
     24 
     25 CONFIGURE_VARS += GREP=grep SED=sed
     26 
     27 define Package/libtool-bin
     28   SECTION:=devel
     29   CATEGORY:=Development
     30   TITLE:=GNU Libtool - libtoolize
     31   URL:=https://www.gnu.org/software/libtool/
     32 endef
     33 
     34 define Package/libtool-bin/description
     35  GNU libtool is a generic library support script.
     36  Libtool hides the complexity of using shared libraries behind a consistent,
     37  portable interface. 
     38  This package contains the libtoolize executable.
     39 endef
     40 
     41 define Package/libtool-bin/install
     42 	$(INSTALL_DIR) $(1)/usr/bin
     43 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtoolize $(1)/usr/bin/
     44 	$(INSTALL_DIR) $(1)/usr/share/aclocal/
     45 	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/*.m4 \
     46 	  $(1)/usr/share/aclocal/
     47 	$(INSTALL_DIR) $(1)/usr/share/libtool/build-aux/
     48 	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/libtool/build-aux/* \
     49 	  $(1)/usr/share/libtool/build-aux/
     50 endef
     51 
     52 $(eval $(call BuildPackage,libtool-bin))