wok view cpio/receipt @ rev 21618
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 24 19:05:22 2019 +0200 (2019-05-24) |
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 }