switch the br2684 default to routed mode instead of bridged mode, as it's more common
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=libtool
12 PKG_VERSION:=1.5.24
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@GNU/libtool
17 PKG_MD5SUM:=d0071c890101fcf4f2be8934a37841b0
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 CONFIGURE_PREFIX=$(STAGING_DIR)/host
24 export GLOBAL_LIBDIR=$(STAGING_DIR)/usr/lib
25
26 define Package/libltdl
27 SECTION:=libs
28 CATEGORY:=Libraries
29 TITLE:=A generic dynamic object loading library
30 URL:=http://www.gnu.org/software/libtool/
31 endef
32
33 define Build/InstallDev
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 bindir="$(2)/bin" \
36 datadir="$(2)/share" \
37 prefix="$(2)" \
38 exec_prefix="$(2)" \
39 install
40 $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include
41 mv $(2)/lib/* $(1)/usr/lib/
42 mv $(2)/include/* $(1)/usr/include/
43 $(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
44 mv $(2)/share/aclocal/* $(STAGING_DIR_HOST)/share/aclocal/
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.042672 seconds and 5 git commands to generate.