wok view cpio/receipt @ rev 20772

updated cd-discid (1.1 -> 1.4)
author Hans-G?nter Theisgen
date Wed Feb 13 16:59:39 2019 +0100 (2019-02-13)
parents 2b9f96603415
children 85bdd085b930
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 "$1/bin/cpio"
47 }