wok-next annotate ez-ipupdate/receipt @ rev 10746

hostapd: put file copy in genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 11:03:56 2011 +0200 (2011-05-30)
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