[package] fix strange LED behavior with Netgear WGT634U (#3552)
[openwrt.git] / package / libtool / Makefile
1 #
2 # Copyright (C) 2006 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:=1.5.24
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@GNU/libtool
16 PKG_MD5SUM:=d0071c890101fcf4f2be8934a37841b0
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 CONFIGURE_PREFIX=$(STAGING_DIR)/host
23 export GLOBAL_LIBDIR=$(STAGING_DIR)/usr/lib
24
25 define Package/libltdl
26 SECTION:=libs
27 CATEGORY:=Libraries
28 TITLE:=A generic dynamic object loading library
29 URL:=http://www.gnu.org/software/libtool/
30 endef
31
32 define Build/InstallDev
33 $(MAKE) -C $(PKG_BUILD_DIR) \
34 bindir="$(2)/bin" \
35 datadir="$(2)/share" \
36 prefix="$(2)" \
37 exec_prefix="$(2)" \
38 install
39 $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include
40 mv $(2)/lib/* $(1)/usr/lib/
41 mv $(2)/include/* $(1)/usr/include/
42 $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
43 $(CP) $(2)/share/aclocal/* $(STAGING_DIR_HOST)/share/aclocal/
44 $(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool
45 endef
46
47 define Package/libltdl/install
48 $(INSTALL_DIR) $(1)/usr/lib
49 $(CP) $(PKG_BUILD_DIR)/libltdl/.libs/libltdl.so.* $(1)/usr/lib/
50 endef
51
52 $(eval $(call BuildPackage,libltdl))
This page took 0.038932 seconds and 5 git commands to generate.