wok-6.x view cpio/receipt @ rev 2119

mkpkgiso: do hg update website
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 31 14:36:40 2009 +0000 (2009-01-31)
parents 23d38a7a06cc
children 8548e74abb6a
line source
1 # SliTaz package receipt.
3 PACKAGE="cpio"
4 VERSION="2.9"
5 CATEGORY="base-system"
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 }