wok-6.x view cpio/receipt @ rev 18458
Add libsieve
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 22:42:42 2015 +0200 (2015-09-28) |
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 }