wok-6.x annotate ndisc6/receipt @ rev 9676

Fixed tazdev. Tazwok uses mercurial| not hg| in WGET_URL.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 04 16:22:49 2011 +0000 (2011-05-04)
parents
children 3765f181a6d5
rev   line source
pascal@6990 1 # SliTaz package receipt.
pascal@6990 2
pascal@6990 3 PACKAGE="ndisc6"
pascal@6990 4 VERSION="0.9.9"
pascal@6990 5 CATEGORY="network"
pascal@6990 6 SHORT_DESC="IPv6 diagnostic tools."
pascal@6990 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@6990 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@6990 9 WEB_SITE="http://rdnssd.linkfanel.net/"
pascal@6990 10 WGET_URL="http://www.remlab.net/files/$PACKAGE/$TARBALL"
pascal@6990 11 DEPENDS="perl"
pascal@6990 12 CONFIG_FILES="/etc/rdnssd"
pascal@6990 13
pascal@6990 14 # Rules to configure and make the package.
pascal@6990 15 compile_rules()
pascal@6990 16 {
pascal@6990 17 cd $src
pascal@6990 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@6990 19 --localstatedir=/var --sysconfdir=/etc \
pascal@6990 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@6990 21 make && make DESTDIR=$PWD/_pkg install
pascal@6990 22 }
pascal@6990 23
pascal@6990 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6990 25 genpkg_rules()
pascal@6990 26 {
pascal@6990 27 mkdir -p $fs/usr
pascal@6990 28 cp -a $_pkg/usr/bin $fs/usr
pascal@6990 29 cp -a $_pkg/usr/sbin $fs/usr
pascal@6990 30 cp -a $_pkg/var $fs
pascal@6990 31 cp -a $_pkg/etc $fs
pascal@6990 32 }