wok-6.x annotate ez-ipupdate/receipt @ rev 17939
partimage: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 15 09:53:08 2015 +0200 (2015-04-15) |
parents | 31c985a0bd3d |
children | 8dd8bab3f0ca |
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@15579 | 8 LICENSE="GPL2" |
pascal@2143 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2143 | 10 WEB_SITE="http://www.$PACKAGE.com/" |
pascal@2143 | 11 WGET_URL="${WEB_SITE}dist/$TARBALL" |
jozee@4935 | 12 TAGS="DNS" |
pascal@2143 | 13 |
pascal@2143 | 14 # Rules to configure and make the package. |
pascal@2143 | 15 compile_rules() |
pascal@2143 | 16 { |
pascal@2143 | 17 cd $src |
pascal@2143 | 18 grep -q errno.h conf_file.h || echo "#include <errno.h>" >> conf_file.h |
pascal@2143 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2143 | 20 --enable-default-service=dyndns \ |
pascal@2143 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2143 | 22 make && |
pascal@15579 | 23 make DESTDIR=$DESTDIR install |
pascal@2143 | 24 } |
pascal@2143 | 25 |
pascal@2143 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2143 | 27 genpkg_rules() |
pascal@2143 | 28 { |
pascal@15579 | 29 cp -a $install/usr $fs |
pascal@2143 | 30 } |
pascal@2143 | 31 |