small image builder change
[openwrt.git] / openwrt / package / ez-ipupdate / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ez-ipupdate
6 PKG_VERSION:=3.0.11b8
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=000211add4c4845ffa4211841bff4fb0
9
10 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
11 http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate
12 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
13 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
14 PKG_CAT:=zcat
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,EZIPUPDATE,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 (cd $(PKG_BUILD_DIR); rm -rf config.cache; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS)" \
24 ./configure \
25 --target=$(GNU_TARGET_NAME) \
26 --host=$(GNU_TARGET_NAME) \
27 --build=$(GNU_HOST_NAME) \
28 --prefix=/usr \
29 --exec-prefix=/usr \
30 --bindir=/usr/bin \
31 --datadir=/usr/share \
32 --includedir=/usr/include \
33 --infodir=/usr/share/info \
34 --libdir=/usr/lib \
35 --libexecdir=/usr/lib/locate \
36 --localstatedir=/var/lib \
37 --mandir=/usr/share/man \
38 --sbindir=/usr/sbin \
39 --sysconfdir=/etc \
40 $(DISABLE_NLS) \
41 );
42 touch $@
43
44 $(PKG_BUILD_DIR)/.built:
45 $(MAKE) -C $(PKG_BUILD_DIR)
46 touch $@
47
48 $(IPKG_EZIPUPDATE):
49 mkdir -p $(IDIR_EZIPUPDATE)/usr/sbin
50 cp $(PKG_BUILD_DIR)/ez-ipupdate $(IDIR_EZIPUPDATE)/usr/sbin/
51 $(STRIP) $(IDIR_EZIPUPDATE)/usr/sbin/*
52 $(IPKG_BUILD) $(IDIR_EZIPUPDATE) $(PACKAGE_DIR)
53
This page took 0.041528 seconds and 5 git commands to generate.