wok-next view cpio/receipt @ rev 1397

busybox: fix gzipped module insertion
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 19 15:24:31 2008 +0000 (2008-09-19)
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 }