wok-current view cpio/receipt @ rev 6560
Added cinepaint. For painting and retouching bitmap frames of films.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 23:15:46 2010 +0000 (2010-10-07) |
parents | 8548e74abb6a |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cpio"
4 VERSION="2.11"
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 }