wok annotate ndisc6/receipt @ rev 15685
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:07 2013 +0100 (2013-12-21) |
parents | e6630c960aea |
children | 241fb98cab1c |
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@15584 | 8 LICENSE="GPL2" |
pascal@6990 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6990 | 10 WEB_SITE="http://rdnssd.linkfanel.net/" |
pascal@6990 | 11 WGET_URL="http://www.remlab.net/files/$PACKAGE/$TARBALL" |
pascal@6990 | 12 DEPENDS="perl" |
pascal@6990 | 13 CONFIG_FILES="/etc/rdnssd" |
pascal@6990 | 14 |
pascal@6990 | 15 # Rules to configure and make the package. |
pascal@6990 | 16 compile_rules() |
pascal@6990 | 17 { |
pascal@6990 | 18 cd $src |
pascal@6990 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6990 | 20 --localstatedir=/var --sysconfdir=/etc \ |
pascal@6990 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@15584 | 22 make && make DESTDIR=$DESTDIR install |
pascal@6990 | 23 } |
pascal@6990 | 24 |
pascal@6990 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6990 | 26 genpkg_rules() |
pascal@6990 | 27 { |
pascal@6990 | 28 mkdir -p $fs/usr |
pascal@15584 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 30 cp -a $install/usr/sbin $fs/usr |
pascal@15584 | 31 cp -a $install/var $fs |
pascal@15584 | 32 cp -a $install/etc $fs |
pascal@6990 | 33 } |