wok-next view cpio/receipt @ rev 16870
pcmanfm: update bdeps
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Jul 13 09:33:33 2014 +0000 (2014-07-13) |
parents | 186060f6d3d0 |
children | 9e01bc6321ea |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/cpio/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="slitaz-toolchain"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --bindir=/bin \
22 --libexecdir=/usr/bin \
23 --mandir=/usr/share/man \
24 --infodir=/usr/share/info \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/locale
34 cp -a $install/bin $fs
35 cp -a $install/usr/bin $fs/usr
36 }
38 # Remove Busybox symlink before installing
39 pre_install()
40 {
41 rm -f $1/bin/cpio
42 }
44 post_remove()
45 {
46 ln -s /bin/busybox /bin/cpio
47 }