wok-next view cpio/receipt @ rev 149
UP : coreutils (6.10)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 25 21:10:36 2008 +0100 (2008-01-25) |
parents | |
children | cdac43c3f44f |
line source
1 # SliTaz package receipt.
3 PACKAGE="cpio"
4 VERSION="2.9"
5 CATEGORY="base-apps"
6 SHORT_DESC="GNU cpio archiver."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/cpio/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --bindir=/bin \
17 --libexecdir=/usr/bin --mandir=/usr/share/man \
18 --infodir=/usr/share/info $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/locale
27 cp -a $_pkg/bin $fs
28 cp -a $_pkg/usr/bin $fs/usr
29 # Locale fr.
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 # Strip package.
32 strip -s $fs/bin/*
33 strip -s $fs/usr/bin/*
34 }