wok view cpio/receipt @ rev 4460
ffmpeg: split ffplay and SDL dep + clean-up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Nov 08 18:07:50 2009 +0100 (2009-11-08) |
parents | cdac43c3f44f |
children | 186060f6d3d0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cpio"
4 VERSION="2.10"
5 CATEGORY="base-system"
6 SHORT_DESC="GNU cpio archiver."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/cpio/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --bindir=/bin \
20 --libexecdir=/usr/bin \
21 --mandir=/usr/share/man \
22 --infodir=/usr/share/info \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/locale
32 cp -a $_pkg/bin $fs
33 cp -a $_pkg/usr/bin $fs/usr
34 }
36 # Remove Busybox symlink before installing
37 pre_install()
38 {
39 rm -f $1/bin/cpio
40 }
42 post_remove()
43 {
44 ln -s /bin/busybox /bin/cpio
45 }