wok-next view bzip2/receipt @ rev 21498

updated aspell-dicts (0.60.6.1 -> 0.60.8)
author Hans-G?nter Theisgen
date Thu Jun 18 21:48:58 2020 +0100 (2020-06-18)
parents ab0a20fa8bd0
children 5fd6f2a9ebd3
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bzip2"
4 VERSION="1.0.6" # 2010-09-20
5 CATEGORY="utilities"
6 SHORT_DESC="A program and library for data compression"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://web.archive.org/web/20180801004107/http://www.bzip.org/"
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 TARBALL_SHA1="3f89f861209ce81a6bab1fd1998c0ef311712002"
17 TARBALL_MD5="00b516f4704d4a7cb50a1d97e6e8e15b"
19 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
21 CAT_libbzip2="libs|shared library"
23 DEPENDS_libbzip2=" "
24 DEPENDS_std="lib$PACKAGE"
25 DEPENDS_dev="lib$PACKAGE $PACKAGE"
27 TAGS_std="LFS compression archive"
29 compile_rules() {
30 # add large-file support
31 sed -i 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' ./Makefile-libbz2_so
33 make -f Makefile-libbz2_so &&
34 make clean &&
35 make &&
36 make install || return 1
38 rm $install/usr/bin/bunzip2 $install/usr/bin/bzcat
39 ln -s bzip2 $install/bin/bunzip2
40 ln -s bzip2 $install/bin/bzcat
41 }
43 # Just to be sure when cross-compiling.
44 testsuite() {
45 readelf -h $src/bzip2-shared
46 }
48 PROVIDE_libbzip2="bzlib"