wok-next annotate ez-ipupdate/receipt @ rev 2143
Add ez-ipupdate
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 04 17:30:27 2009 +0000 (2009-02-04) |
parents | |
children | 31c985a0bd3d |
rev | line source |
---|---|
pascal@2143 | 1 # SliTaz package receipt. |
pascal@2143 | 2 |
pascal@2143 | 3 PACKAGE="ez-ipupdate" |
pascal@2143 | 4 VERSION="3.0.11b7" |
pascal@2143 | 5 CATEGORY="network" |
pascal@2143 | 6 SHORT_DESC="Update your host name for some dynamic DNS services." |
pascal@2143 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2143 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2143 | 9 WEB_SITE="http://www.$PACKAGE.com/" |
pascal@2143 | 10 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pascal@2143 | 11 |
pascal@2143 | 12 # Rules to configure and make the package. |
pascal@2143 | 13 compile_rules() |
pascal@2143 | 14 { |
pascal@2143 | 15 cd $src |
pascal@2143 | 16 grep -q errno.h conf_file.h || echo "#include <errno.h>" >> conf_file.h |
pascal@2143 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2143 | 18 --enable-default-service=dyndns \ |
pascal@2143 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2143 | 20 make && |
pascal@2143 | 21 make DESTDIR=$PWD/_pkg install |
pascal@2143 | 22 } |
pascal@2143 | 23 |
pascal@2143 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2143 | 25 genpkg_rules() |
pascal@2143 | 26 { |
pascal@2143 | 27 cp -a $_pkg/usr $fs |
pascal@2143 | 28 } |
pascal@2143 | 29 |