wok-4.x view tar/receipt @ rev 12477

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (14 months ago)
parents 39f7962e4210
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tar"
4 VERSION="1.34"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU tar archiving tools."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/tar/"
10 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
11 TAGS="archive compression"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 # this is needed since configure can't be run as root with out it
18 export FORCE_UNSAFE_CONFIGURE=1
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/$PACKAGE \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $_pkg/usr/bin $fs
32 }
34 # Prevent erasing busybox...
35 pre_install()
36 {
37 local root
38 root=$1
39 rm -f $root/bin/tar
40 }
42 post_remove()
43 {
44 ln -s /bin/busybox /bin/tar
45 }