wok-current annotate ez-ipupdate/receipt @ rev 12927
util-linux: cross-compile for ARM (and pack blkid/uuid)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 22:45:34 2012 +0000 (2012-05-29) |
parents | da037d1a8509 |
children | eb8067417980 |
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" |
jozee@4935 | 11 TAGS="DNS" |
pascal@2143 | 12 |
pascal@2143 | 13 # Rules to configure and make the package. |
pascal@2143 | 14 compile_rules() |
pascal@2143 | 15 { |
pascal@2143 | 16 cd $src |
pascal@2143 | 17 grep -q errno.h conf_file.h || echo "#include <errno.h>" >> conf_file.h |
pascal@2143 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2143 | 19 --enable-default-service=dyndns \ |
pascal@2143 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2143 | 21 make && |
pascal@2143 | 22 make DESTDIR=$PWD/_pkg install |
pascal@2143 | 23 } |
pascal@2143 | 24 |
pascal@2143 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2143 | 26 genpkg_rules() |
pascal@2143 | 27 { |
pascal@2143 | 28 cp -a $_pkg/usr $fs |
pascal@2143 | 29 } |
pascal@2143 | 30 |