wok-next view bzip2/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 39afd1f4ffe0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bzip2"
4 VERSION="1.0.8"
5 CATEGORY="utilities"
6 SHORT_DESC="A program and library for data compression"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://sourceware.org/bzip2/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/svn/chapter06/bzip2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 #WGET_URL="http://www.bzip.org/$VERSION/$TARBALL"
14 #WGET_URL="https://web.archive.org/web/20180624184835if_/http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz"
15 #WGET_URL="https://fossies.org/linux/misc/bzip2-1.0.6.tar.gz"
16 WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL"
17 #TARBALL_SHA1="3f89f861209ce81a6bab1fd1998c0ef311712002"
18 #TARBALL_MD5="00b516f4704d4a7cb50a1d97e6e8e15b"
19 # https://sourceware.org/pub/bzip2/sha512.sum
20 TARBALL_SHA512="083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3"
21 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
23 CAT_libbzip2="libs|shared library"
25 DEPENDS_libbzip2=" "
26 DEPENDS_std="lib$PACKAGE"
27 DEPENDS_dev="lib$PACKAGE $PACKAGE"
29 TAGS_std="LFS compression archive"
31 compile_rules()
32 {
33 # add large-file support
34 sed -i 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' ./Makefile-libbz2_so
36 make -f Makefile-libbz2_so &&
37 make clean &&
38 make &&
39 make install || return 1
41 rm $install/usr/bin/bunzip2
42 rm $install/usr/bin/bzcat
43 ln -s bzip2 $install/bin/bunzip2
44 ln -s bzip2 $install/bin/bzcat
45 }
47 # Just to be sure when cross-compiling.
48 testsuite()
49 {
50 readelf -h $src/bzip2-shared
51 }
53 PROVIDE_libbzip2="bzlib"