wok view ndisc6/receipt @ rev 12085

fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:47:23 2012 -0500 (2012-03-09)
parents
children 3765f181a6d5
line source
1 # SliTaz package receipt.
3 PACKAGE="ndisc6"
4 VERSION="0.9.9"
5 CATEGORY="network"
6 SHORT_DESC="IPv6 diagnostic tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://rdnssd.linkfanel.net/"
10 WGET_URL="http://www.remlab.net/files/$PACKAGE/$TARBALL"
11 DEPENDS="perl"
12 CONFIG_FILES="/etc/rdnssd"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --localstatedir=/var --sysconfdir=/etc \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/var $fs
31 cp -a $_pkg/etc $fs
32 }