source: freewrt/package/ez-ipupdate/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was 7b7525c, checked in by Markus Wigge <markus@…>, 19 years ago
  • updated init script to common style
  • init script start service in daemon mode now
  • removed hotplug script because ez-ipupdate keeps track of the configured interface on its own.
  • added rc.conf option

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1272 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.7 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= ez-ipupdate
10PKG_VERSION:= 3.0.11b8
11PKG_RELEASE:= 2
12PKG_MD5SUM:= 000211add4c4845ffa4211841bff4fb0
13PKG_INIT:= 50
14
15PKG_SOURCE_URL:= http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
16 http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate
17PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
18
19include $(TOPDIR)/mk/package.mk
20
21$(eval $(call PKG_template,EZIPUPDATE,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
22
23$(WRKBUILD)/.configured:
24 (cd $(WRKBUILD); rm -rf config.cache; \
25 $(TARGET_CONFIGURE_OPTS) \
26 CFLAGS="$(TARGET_CFLAGS)" \
27 ./configure \
28 --target=$(GNU_TARGET_NAME) \
29 --host=$(GNU_TARGET_NAME) \
30 --build=$(GNU_HOST_NAME) \
31 --prefix=/usr \
32 --exec-prefix=/usr \
33 --bindir=/usr/bin \
34 --datadir=/usr/share \
35 --includedir=/usr/include \
36 --infodir=/usr/share/info \
37 --libdir=/usr/lib \
38 --libexecdir=/usr/lib/locate \
39 --localstatedir=/var/lib \
40 --mandir=/usr/share/man \
41 --sbindir=/usr/sbin \
42 --sysconfdir=/etc \
43 --disable-nls \
44 );
45 touch $@
46
47$(WRKBUILD)/.built:
48 $(MAKE) -C $(WRKBUILD)
49 touch $@
50
51$(IPKG_EZIPUPDATE):
52 $(INSTALL_DIR) $(IDIR_EZIPUPDATE)/etc
53 install -m0600 ./files/$(PKG_NAME).conf $(IDIR_EZIPUPDATE)/etc/
54 $(INSTALL_DIR) $(IDIR_EZIPUPDATE)/usr/sbin
55 $(INSTALL_BIN) $(WRKBUILD)/$(PKG_NAME) $(IDIR_EZIPUPDATE)/usr/sbin/
56 $(INSTALL_DIR) $(IDIR_EZIPUPDATE)/etc/init.d
57 $(INSTALL_BIN) ./files/ez-ipupdate.init \
58 $(IDIR_EZIPUPDATE)/etc/init.d/S$(PKG_INIT)ez-ipupdate
59 $(RSTRIP) $(IDIR_EZIPUPDATE)
60 $(IPKG_BUILD) $(IDIR_EZIPUPDATE) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.