wok-current view cpio/receipt @ rev 24310
updated tidy-html5 (5.6.0 -> 5.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 19 09:24:46 2022 +0100 (2022-01-19) |
parents | dfc9f040ab63 |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cpio"
4 VERSION="2.13"
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 }