mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 21:09:42 +02:00
Tweak package build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@968 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d0adb64422
commit
d236829440
@ -50,14 +50,14 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
);
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS)
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_CHILLISPOT):
|
||||
install -m0755 -d $(IDIR_CHILLISPOT)/etc/init.d
|
||||
|
@ -7,9 +7,7 @@ PKG_VERSION:=2.1.20
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=268ead27f4ac39bcfe17d9e38e0f2977
|
||||
|
||||
PKG_SOURCE_URL:= \
|
||||
http://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
|
||||
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
|
||||
PKG_SOURCE_URL:=http://ftp.andrew.cmu.edu/pub/cyrus-mail/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
@ -85,20 +83,20 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--without-dmalloc \
|
||||
--without-sfio \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)/include \
|
||||
CC="$(HOSTCC)" \
|
||||
LINK="$(HOSTCC) -o makemd5 -lc" \
|
||||
CFLAGS="" \
|
||||
makemd5
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBSASL2):
|
||||
install -m0755 -d $(IDIR_LIBSASL2)/usr/lib/
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME := dhcp-forwarder
|
||||
PKG_VERSION := 0.7
|
||||
PKG_RELEASE := 4
|
||||
PKG_MD5SUM := e7f876e615ebc3f96418f6477b4451e2
|
||||
PKG_NAME:=dhcp-forwarder
|
||||
PKG_VERSION:=0.7
|
||||
PKG_RELEASE:=4
|
||||
PKG_MD5SUM:=e7f876e615ebc3f96418f6477b4451e2
|
||||
|
||||
PKG_SOURCE_URL := http://savannah.nongnu.org/download/dhcp-fwd
|
||||
PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_CAT := bzcat
|
||||
PKG_SOURCE_URL:=http://savannah.nongnu.org/download/dhcp-fwd
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_CAT:=bzcat
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
@ -47,13 +47,13 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
cfg_filename="/etc/dhcp-fwd.conf"
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
cfg_filename="/etc/dhcp-fwd.conf" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_DHCP_FORWARDER):
|
||||
install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc
|
||||
|
@ -131,16 +131,16 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--without-rlm_unix \
|
||||
--without-rlm_x99-token \
|
||||
)
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
R="$(PKG_INSTALL_DIR)" \
|
||||
INSTALLSTRIP="" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_FREERADIUS):
|
||||
install -m0755 -d $(IDIR_FREERADIUS)/etc/init.d
|
||||
|
@ -59,15 +59,15 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--disable-auto-modprobe \
|
||||
--with-kernel=$(LINUX_DIR) \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_KMOD_FUSE):
|
||||
mkdir -p $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)
|
||||
|
@ -66,15 +66,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--enable-shared=yes \
|
||||
--enable-static=yes \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
touch $@
|
||||
|
||||
$(IPKG_GLIB1):
|
||||
install -m0755 -d $(IDIR_GLIB1)/usr/lib
|
||||
@ -107,4 +107,4 @@ uninstall-dev:
|
||||
rm -rf $(STAGING_DIR)/usr/lib/pkgconfig/g{lib,module,thread}.pc
|
||||
|
||||
compile: install-dev
|
||||
clean: uninstall-dev
|
||||
clean: uninstall-dev
|
||||
|
@ -13,6 +13,7 @@ PKG_CAT:=bzcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
||||
$(eval $(call PKG_template,LIBGMP,libgmp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
@ -44,15 +45,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBGMP):
|
||||
install -m0755 -d $(IDIR_LIBGMP)/usr/lib
|
||||
|
@ -2,25 +2,23 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME := haserl
|
||||
PKG_VERSION := 0.8.0
|
||||
PKG_RELEASE := 1
|
||||
PKG_MD5SUM := bd9195d086566f56634c0bcbbbcbebea
|
||||
PKG_NAME:=haserl
|
||||
PKG_VERSION:=0.8.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
|
||||
|
||||
PKG_SOURCE_URL := \
|
||||
@SF/haserl \
|
||||
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
|
||||
PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT := zcat
|
||||
PKG_SOURCE_URL:=@SF/haserl
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk
|
||||
|
||||
$(eval $(call PKG_template,HASERL,haserl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
|
||||
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
$(PKG_BUILD_DIR)/.configured:
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -DMAX_UPLOAD_KB=8192" \
|
||||
@ -45,15 +43,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
)
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_HASERL):
|
||||
install -m0755 -d $(IDIR_HASERL)/usr/bin
|
||||
|
@ -51,15 +51,15 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
)
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBHOWL):
|
||||
install -m0755 -d $(IDIR_LIBHOWL)/usr/lib
|
||||
|
@ -45,16 +45,16 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_NLS) \
|
||||
)
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC=$(TARGET_CC)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC=$(TARGET_CC) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_IPKG):
|
||||
install -d -m0755 $(IDIR_IPKG)/bin
|
||||
|
@ -50,16 +50,16 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
||||
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
||||
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \
|
||||
instroot="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBELF):
|
||||
install -d -m0755 $(IDIR_LIBELF)/usr/lib
|
||||
|
@ -18,7 +18,6 @@ include $(TOPDIR)/package/rules.mk
|
||||
|
||||
$(eval $(call PKG_template,LIBGD,libgd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
|
||||
|
||||
$(PKG_BUILD_DIR)/.configured:
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
@ -54,13 +53,15 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--without-x \
|
||||
--with-png=$(STAGING_DIR)/usr \
|
||||
)
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBGD):
|
||||
install -d -m0755 $(IDIR_LIBGD)/usr/lib
|
||||
|
@ -7,9 +7,7 @@ PKG_VERSION:=1.0.2a
|
||||
PKG_RELEASE:=7
|
||||
PKG_MD5SUM:=ddf53f0f484184390e8c2a1bd0853667
|
||||
|
||||
PKG_SOURCE_URL:=\
|
||||
http://www.packetfactory.net/libnet/dist/deprecated/ \
|
||||
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
|
||||
PKG_SOURCE_URL:=http://www.packetfactory.net/libnet/dist/deprecated/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
@ -58,17 +56,17 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--enable-static \
|
||||
--with-pf_packet=yes \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)"
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBNET): $(STAGING_DIR)/usr/lib/libnet.so
|
||||
install -m0755 -d $(IDIR_LIBNET)/usr/lib
|
||||
|
@ -53,15 +53,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--enable-semaphore \
|
||||
--enable-ntimer \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBOSIP2):
|
||||
install -m0755 -d $(IDIR_LIBOSIP2)/usr/lib
|
||||
|
@ -7,9 +7,7 @@ PKG_VERSION:=0.8.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=56a9d4615d8354fcfe8cff8c8443c77b
|
||||
|
||||
PKG_SOURCE_URL:= \
|
||||
http://www.tcpdump.org/release \
|
||||
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
|
||||
PKG_SOURCE_URL:=http://www.tcpdump.org/release/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
@ -53,16 +51,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--with-build-cc=$(HOSTCC) \
|
||||
--with-pcap=linux \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CCOPT="$(TARGET_CFLAGS)"
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CCOPT="$(TARGET_CFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBPCAP):
|
||||
install -m0755 -d $(IDIR_LIBPCAP)/usr/lib
|
||||
|
@ -7,9 +7,7 @@ PKG_VERSION:=1.5.14
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=049bf67de9b0eb75cd943dafe3d749ec
|
||||
|
||||
PKG_SOURCE_URL:= \
|
||||
http://ftp.gnu.org/gnu/libtool/ \
|
||||
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
|
||||
PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/libtool/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
@ -47,15 +45,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBLTDL):
|
||||
install -m0755 -d $(IDIR_LIBLTDL)/usr/lib
|
||||
|
@ -48,16 +48,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
||||
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
||||
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBUSB):
|
||||
install -m0755 -d $(IDIR_LIBUSB)/usr/lib
|
||||
|
@ -80,15 +80,15 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--enable-static \
|
||||
--with-openssl="$(STAGING_DIR)/usr" \
|
||||
)
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIGHTTPD):
|
||||
install -m0755 -d $(IDIR_LIGHTTPD)/etc
|
||||
|
@ -47,16 +47,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CFLAGS_O="$(TARGET_CFLAGS)"
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CFLAGS_O="$(TARGET_CFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBLZO):
|
||||
install -d -m0755 $(IDIR_LIBLZO)/usr/lib
|
||||
|
@ -67,19 +67,19 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
--with-shared \
|
||||
--with-normal \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
BUILD_CC="$(TARGET_CC)" \
|
||||
HOSTCC="$(HOSTCC)" \
|
||||
HOSTCCFLAGS="\$$(CPPFLAGS)"
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
HOSTCCFLAGS="\$$(CPPFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBNCURSES):
|
||||
install -d -m0755 $(IDIR_LIBNCURSES)/usr/lib
|
||||
|
@ -51,17 +51,16 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--with-libpcap="$(STAGING_DIR)/usr" \
|
||||
--with-libpcre="$(STAGING_DIR)/usr" \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CCOPT="-fno-builtin -nostdinc++ -nodefaultlibs $(TARGET_CFLAGS)"
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CCOPT="-fno-builtin -nostdinc++ -nodefaultlibs $(TARGET_CFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_NMAP):
|
||||
install -d -m0755 $(IDIR_NMAP)/usr/share/nmap
|
||||
|
@ -7,9 +7,7 @@ PKG_VERSION:=2.2.26
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=afc8700b5738da863b30208e1d3e9de8
|
||||
|
||||
PKG_SOURCE_URL:= \
|
||||
ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
|
||||
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
|
||||
PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
@ -36,10 +34,12 @@ include $(TOPDIR)/package/rules.mk
|
||||
$(eval $(call PKG_template,LIBOPENLDAP,libopenldap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
$(eval $(call PKG_template,OPENLDAP_UTILS,openldap-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
|
||||
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
$(PKG_BUILD_DIR)/.configured:
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||
./configure \
|
||||
--target=$(GNU_HOST_NAME) \
|
||||
@ -95,12 +95,10 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||
$(DISABLE_NLS) \
|
||||
$(PKG_CONFIGURE_OPTIONS) \
|
||||
)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
|
||||
$(IPKG_LIBOPENLDAP):
|
||||
|
@ -50,16 +50,16 @@ $(PKG_BUILD_DIR)/.configured:
|
||||
--with-osiris-user=root \
|
||||
--with-root-dir=/var/lib/osiris \
|
||||
);
|
||||
touch $(PKG_BUILD_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
INTERACTIVE=0 \
|
||||
install
|
||||
touch $(PKG_BUILD_DIR)/.built
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_OSIRISD):
|
||||
install -d -m0755 $(IDIR_OSIRISD)/etc/init.d
|
||||
|
Loading…
Reference in New Issue
Block a user