1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 00:03:44 +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:
nico 2005-05-19 21:14:18 +00:00
parent d0adb64422
commit d236829440
23 changed files with 133 additions and 144 deletions

View File

@ -50,14 +50,14 @@ $(PKG_BUILD_DIR)/.configured:
); );
touch $@ touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \ rm -rf $(PKG_INSTALL_DIR)
$(TARGET_CONFIGURE_OPTS)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_CHILLISPOT): $(IPKG_CHILLISPOT):
install -m0755 -d $(IDIR_CHILLISPOT)/etc/init.d install -m0755 -d $(IDIR_CHILLISPOT)/etc/init.d

View File

@ -7,9 +7,7 @@ PKG_VERSION:=2.1.20
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=268ead27f4ac39bcfe17d9e38e0f2977 PKG_MD5SUM:=268ead27f4ac39bcfe17d9e38e0f2977
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:=http://ftp.andrew.cmu.edu/pub/cyrus-mail/
http://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
@ -85,20 +83,20 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--without-dmalloc \ --without-dmalloc \
--without-sfio \ --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 \ $(MAKE) -C $(PKG_BUILD_DIR)/include \
CC="$(HOSTCC)" \ CC="$(HOSTCC)" \
LINK="$(HOSTCC) -o makemd5 -lc" \ LINK="$(HOSTCC) -o makemd5 -lc" \
CFLAGS="" \ CFLAGS="" \
makemd5 makemd5
$(MAKE) -C $(PKG_BUILD_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBSASL2): $(IPKG_LIBSASL2):
install -m0755 -d $(IDIR_LIBSASL2)/usr/lib/ install -m0755 -d $(IDIR_LIBSASL2)/usr/lib/

View File

@ -2,16 +2,16 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME := dhcp-forwarder PKG_NAME:=dhcp-forwarder
PKG_VERSION := 0.7 PKG_VERSION:=0.7
PKG_RELEASE := 4 PKG_RELEASE:=4
PKG_MD5SUM := e7f876e615ebc3f96418f6477b4451e2 PKG_MD5SUM:=e7f876e615ebc3f96418f6477b4451e2
PKG_SOURCE_URL := http://savannah.nongnu.org/download/dhcp-fwd PKG_SOURCE_URL:=http://savannah.nongnu.org/download/dhcp-fwd
PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_CAT := bzcat 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 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
@ -47,13 +47,13 @@ $(PKG_BUILD_DIR)/.configured:
touch $@ touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \ rm -rf $(PKG_INSTALL_DIR)
cfg_filename="/etc/dhcp-fwd.conf"
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
cfg_filename="/etc/dhcp-fwd.conf" \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_DHCP_FORWARDER): $(IPKG_DHCP_FORWARDER):
install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc

View File

@ -131,16 +131,16 @@ $(PKG_BUILD_DIR)/.configured:
--without-rlm_unix \ --without-rlm_unix \
--without-rlm_x99-token \ --without-rlm_x99-token \
) )
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
R="$(PKG_INSTALL_DIR)" \ R="$(PKG_INSTALL_DIR)" \
INSTALLSTRIP="" \ INSTALLSTRIP="" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_FREERADIUS): $(IPKG_FREERADIUS):
install -m0755 -d $(IDIR_FREERADIUS)/etc/init.d install -m0755 -d $(IDIR_FREERADIUS)/etc/init.d

View File

@ -59,15 +59,15 @@ $(PKG_BUILD_DIR)/.configured:
--disable-auto-modprobe \ --disable-auto-modprobe \
--with-kernel=$(LINUX_DIR) \ --with-kernel=$(LINUX_DIR) \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_KMOD_FUSE): $(IPKG_KMOD_FUSE):
mkdir -p $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION) mkdir -p $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)

View File

@ -66,15 +66,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--enable-shared=yes \ --enable-shared=yes \
--enable-static=yes \ --enable-static=yes \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \ rm -rf $(PKG_INSTALL_DIR)
$(TARGET_CONFIGURE_OPTS) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_GLIB1): $(IPKG_GLIB1):
install -m0755 -d $(IDIR_GLIB1)/usr/lib 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 rm -rf $(STAGING_DIR)/usr/lib/pkgconfig/g{lib,module,thread}.pc
compile: install-dev compile: install-dev
clean: uninstall-dev clean: uninstall-dev

View File

@ -13,6 +13,7 @@ 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 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBGMP,libgmp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(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-shared \
--enable-static \ --enable-static \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBGMP): $(IPKG_LIBGMP):
install -m0755 -d $(IDIR_LIBGMP)/usr/lib install -m0755 -d $(IDIR_LIBGMP)/usr/lib

View File

@ -2,25 +2,23 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME := haserl PKG_NAME:=haserl
PKG_VERSION := 0.8.0 PKG_VERSION:=0.8.0
PKG_RELEASE := 1 PKG_RELEASE:=1
PKG_MD5SUM := bd9195d086566f56634c0bcbbbcbebea PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
PKG_SOURCE_URL := \ PKG_SOURCE_URL:=@SF/haserl
@SF/haserl \ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/ PKG_CAT:=zcat
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 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,HASERL,haserl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(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} ; \ (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DMAX_UPLOAD_KB=8192" \ CFLAGS="$(TARGET_CFLAGS) -DMAX_UPLOAD_KB=8192" \
@ -45,15 +43,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(DISABLE_LARGEFILE) \ $(DISABLE_LARGEFILE) \
$(DISABLE_NLS) \ $(DISABLE_NLS) \
) )
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_HASERL): $(IPKG_HASERL):
install -m0755 -d $(IDIR_HASERL)/usr/bin install -m0755 -d $(IDIR_HASERL)/usr/bin

View File

@ -51,15 +51,15 @@ $(PKG_BUILD_DIR)/.configured:
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
) )
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBHOWL): $(IPKG_LIBHOWL):
install -m0755 -d $(IDIR_LIBHOWL)/usr/lib install -m0755 -d $(IDIR_LIBHOWL)/usr/lib

View File

@ -45,16 +45,16 @@ $(PKG_BUILD_DIR)/.configured:
$(DISABLE_LARGEFILE) \ $(DISABLE_LARGEFILE) \
$(DISABLE_NLS) \ $(DISABLE_NLS) \
) )
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \ rm -rf $(PKG_INSTALL_DIR)
CC=$(TARGET_CC)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CC=$(TARGET_CC) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_IPKG): $(IPKG_IPKG):
install -d -m0755 $(IDIR_IPKG)/bin install -d -m0755 $(IDIR_IPKG)/bin

View File

@ -50,16 +50,16 @@ $(PKG_BUILD_DIR)/.configured:
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \ rm -rf $(PKG_INSTALL_DIR)
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \ $(MAKE) -C $(PKG_BUILD_DIR) -j1 \
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH) \
instroot="$(PKG_INSTALL_DIR)" \ instroot="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBELF): $(IPKG_LIBELF):
install -d -m0755 $(IDIR_LIBELF)/usr/lib install -d -m0755 $(IDIR_LIBELF)/usr/lib

View File

@ -18,7 +18,6 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBGD,libgd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,LIBGD,libgd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
@ -54,13 +53,15 @@ $(PKG_BUILD_DIR)/.configured:
--without-x \ --without-x \
--with-png=$(STAGING_DIR)/usr \ --with-png=$(STAGING_DIR)/usr \
) )
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
all install all install
touch $@
$(IPKG_LIBGD): $(IPKG_LIBGD):
install -d -m0755 $(IDIR_LIBGD)/usr/lib install -d -m0755 $(IDIR_LIBGD)/usr/lib

View File

@ -7,9 +7,7 @@ PKG_VERSION:=1.0.2a
PKG_RELEASE:=7 PKG_RELEASE:=7
PKG_MD5SUM:=ddf53f0f484184390e8c2a1bd0853667 PKG_MD5SUM:=ddf53f0f484184390e8c2a1bd0853667
PKG_SOURCE_URL:=\ PKG_SOURCE_URL:=http://www.packetfactory.net/libnet/dist/deprecated/
http://www.packetfactory.net/libnet/dist/deprecated/ \
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
@ -58,17 +56,17 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--enable-static \ --enable-static \
--with-pf_packet=yes \ --with-pf_packet=yes \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \ rm -rf $(PKG_INSTALL_DIR)
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)"
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBNET): $(STAGING_DIR)/usr/lib/libnet.so $(IPKG_LIBNET): $(STAGING_DIR)/usr/lib/libnet.so
install -m0755 -d $(IDIR_LIBNET)/usr/lib install -m0755 -d $(IDIR_LIBNET)/usr/lib

View File

@ -53,15 +53,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--enable-semaphore \ --enable-semaphore \
--enable-ntimer \ --enable-ntimer \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBOSIP2): $(IPKG_LIBOSIP2):
install -m0755 -d $(IDIR_LIBOSIP2)/usr/lib install -m0755 -d $(IDIR_LIBOSIP2)/usr/lib

View File

@ -7,9 +7,7 @@ PKG_VERSION:=0.8.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=56a9d4615d8354fcfe8cff8c8443c77b PKG_MD5SUM:=56a9d4615d8354fcfe8cff8c8443c77b
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:=http://www.tcpdump.org/release/
http://www.tcpdump.org/release \
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
@ -53,16 +51,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--with-build-cc=$(HOSTCC) \ --with-build-cc=$(HOSTCC) \
--with-pcap=linux \ --with-pcap=linux \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \ rm -rf $(PKG_INSTALL_DIR)
CCOPT="$(TARGET_CFLAGS)"
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CCOPT="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBPCAP): $(IPKG_LIBPCAP):
install -m0755 -d $(IDIR_LIBPCAP)/usr/lib install -m0755 -d $(IDIR_LIBPCAP)/usr/lib

View File

@ -7,9 +7,7 @@ PKG_VERSION:=1.5.14
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=049bf67de9b0eb75cd943dafe3d749ec PKG_MD5SUM:=049bf67de9b0eb75cd943dafe3d749ec
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/libtool/
http://ftp.gnu.org/gnu/libtool/ \
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat PKG_CAT:=zcat
@ -47,15 +45,15 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBLTDL): $(IPKG_LIBLTDL):
install -m0755 -d $(IDIR_LIBLTDL)/usr/lib install -m0755 -d $(IDIR_LIBLTDL)/usr/lib

View File

@ -48,16 +48,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \ rm -rf $(PKG_INSTALL_DIR)
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld ARCH=$(ARCH)
mkdir -p $(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)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBUSB): $(IPKG_LIBUSB):
install -m0755 -d $(IDIR_LIBUSB)/usr/lib install -m0755 -d $(IDIR_LIBUSB)/usr/lib

View File

@ -80,15 +80,15 @@ $(PKG_BUILD_DIR)/.configured:
--enable-static \ --enable-static \
--with-openssl="$(STAGING_DIR)/usr" \ --with-openssl="$(STAGING_DIR)/usr" \
) )
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIGHTTPD): $(IPKG_LIGHTTPD):
install -m0755 -d $(IDIR_LIGHTTPD)/etc install -m0755 -d $(IDIR_LIGHTTPD)/etc

View File

@ -47,16 +47,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \ rm -rf $(PKG_INSTALL_DIR)
CFLAGS_O="$(TARGET_CFLAGS)"
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS_O="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBLZO): $(IPKG_LIBLZO):
install -d -m0755 $(IDIR_LIBLZO)/usr/lib install -d -m0755 $(IDIR_LIBLZO)/usr/lib

View File

@ -67,19 +67,19 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
--with-shared \ --with-shared \
--with-normal \ --with-normal \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
BUILD_CC="$(TARGET_CC)" \ BUILD_CC="$(TARGET_CC)" \
HOSTCC="$(HOSTCC)" \ HOSTCC="$(HOSTCC)" \
HOSTCCFLAGS="\$$(CPPFLAGS)" HOSTCCFLAGS="\$$(CPPFLAGS)" \
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBNCURSES): $(IPKG_LIBNCURSES):
install -d -m0755 $(IDIR_LIBNCURSES)/usr/lib install -d -m0755 $(IDIR_LIBNCURSES)/usr/lib

View File

@ -51,17 +51,16 @@ $(PKG_BUILD_DIR)/.configured:
--with-libpcap="$(STAGING_DIR)/usr" \ --with-libpcap="$(STAGING_DIR)/usr" \
--with-libpcre="$(STAGING_DIR)/usr" \ --with-libpcre="$(STAGING_DIR)/usr" \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CCOPT="-fno-builtin -nostdinc++ -nodefaultlibs $(TARGET_CFLAGS)"
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CCOPT="-fno-builtin -nostdinc++ -nodefaultlibs $(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_NMAP): $(IPKG_NMAP):
install -d -m0755 $(IDIR_NMAP)/usr/share/nmap install -d -m0755 $(IDIR_NMAP)/usr/share/nmap

View File

@ -7,9 +7,7 @@ PKG_VERSION:=2.2.26
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=afc8700b5738da863b30208e1d3e9de8 PKG_MD5SUM:=afc8700b5738da863b30208e1d3e9de8
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_CAT:=zcat 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,LIBOPENLDAP,libopenldap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,OPENLDAP_UTILS,openldap-utils,$(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 $(PKG_BUILD_DIR)/.configured:
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)
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
./configure \ ./configure \
--target=$(GNU_HOST_NAME) \ --target=$(GNU_HOST_NAME) \
@ -95,12 +95,10 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(DISABLE_NLS) \ $(DISABLE_NLS) \
$(PKG_CONFIGURE_OPTIONS) \ $(PKG_CONFIGURE_OPTIONS) \
) )
$(MAKE) -C $(PKG_BUILD_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_LIBOPENLDAP): $(IPKG_LIBOPENLDAP):

View File

@ -50,16 +50,16 @@ $(PKG_BUILD_DIR)/.configured:
--with-osiris-user=root \ --with-osiris-user=root \
--with-root-dir=/var/lib/osiris \ --with-root-dir=/var/lib/osiris \
); );
touch $(PKG_BUILD_DIR)/.configured touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
INTERACTIVE=0 \ INTERACTIVE=0 \
install all install
touch $(PKG_BUILD_DIR)/.built touch $@
$(IPKG_OSIRISD): $(IPKG_OSIRISD):
install -d -m0755 $(IDIR_OSIRISD)/etc/init.d install -d -m0755 $(IDIR_OSIRISD)/etc/init.d