3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=000211add4c4845ffa4211841bff4fb0
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
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,EZIPUPDATE
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS)" \
25 --target
=$(GNU_TARGET_NAME
) \
26 --host
=$(GNU_TARGET_NAME
) \
27 --build
=$(GNU_HOST_NAME
) \
31 --datadir=/usr
/share \
32 --includedir=/usr
/include \
33 --infodir=/usr
/share
/info \
35 --libexecdir
=/usr
/lib
/locate \
36 --localstatedir
=/var
/lib \
37 --mandir=/usr
/share
/man \
44 $(PKG_BUILD_DIR
)/.built
:
45 $(MAKE
) -C
$(PKG_BUILD_DIR
)
49 install -m0755
-d
$(IDIR_EZIPUPDATE
)/etc
/init.d
$(IDIR_EZIPUPDATE
)/etc
/hotplug.d
/iface
$(IDIR_EZIPUPDATE
)/usr
/sbin
/
50 install -m0755
$(PKG_BUILD_DIR
)/ez-ipupdate
$(IDIR_EZIPUPDATE
)/usr
/sbin
/
51 install -m0755 files
/$(PKG_NAME
).init
$(IDIR_EZIPUPDATE
)/etc
/init.d
/S80
$(PKG_NAME
)
52 install -m0755 files
/$(PKG_NAME
).conf
$(IDIR_EZIPUPDATE
)/etc
/
53 install -m0755 files
/$(PKG_NAME
).hotplug
$(IDIR_EZIPUPDATE
)/etc
/hotplug.d
/iface
/10-$(PKG_NAME
)
54 $(STRIP
) $(IDIR_EZIPUPDATE
)/usr
/sbin
/*
55 $(IPKG_BUILD
) $(IDIR_EZIPUPDATE
) $(PACKAGE_DIR
)