wok view cpio/receipt @ rev 20834

Remove pidgin-facebookchat: replaced by purple-facebook
author Richard Dunbar <mojo@slitaz.org>
date Tue Feb 19 13:18:24 2019 -0500 (2019-02-19)
parents 85bdd085b930
children 35292b022843
line source
1 # SliTaz package receipt.
3 PACKAGE="cpio"
4 VERSION="2.12"
5 CATEGORY="base-system"
6 SHORT_DESC="GNU cpio archiver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/cpio/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 GNU_MIRROR="http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.gnu.org"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="glibc-base"
16 BUILD_DEPENDS="slitaz-toolchain"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 --bindir=/bin \
23 --libexecdir=/usr/bin \
24 --mandir=/usr/share/man \
25 --infodir=/usr/share/info \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 # mkdir -p $fs/usr/share/locale
35 mkdir -p $fs/usr/bin
36 cp -a $install/bin $fs
37 cp -a $install/usr/bin $fs/usr
38 }
40 # Remove Busybox symlink before installing
41 pre_install()
42 {
43 rm -f "$1/bin/cpio"
44 }
46 post_remove()
47 {
48 ln -s /bin/busybox "$1/bin/cpio"
49 }