wok-next annotate bzip2/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents 39afd1f4ffe0
children
rev   line source
al@19736 1 # SliTaz package receipt v2.
pankso@11 2
pankso@11 3 PACKAGE="bzip2"
Hans-G?nter@21535 4 VERSION="1.0.8"
pankso@211 5 CATEGORY="utilities"
al@19736 6 SHORT_DESC="A program and library for data compression"
Hans-G?nter@21535 7 MAINTAINER="maintainer@slitaz.org"
pascal@15474 8 LICENSE="BSD"
Hans-G?nter@21535 9 WEB_SITE="https://sourceware.org/bzip2/"
al@21105 10 LFS="http://www.linuxfromscratch.org/lfs/view/svn/chapter06/bzip2.html"
pankso@12815 11
al@19561 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20908 13 #WGET_URL="http://www.bzip.org/$VERSION/$TARBALL"
al@20908 14 #WGET_URL="https://web.archive.org/web/20180624184835if_/http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz"
Hans-G?nter@21535 15 #WGET_URL="https://fossies.org/linux/misc/bzip2-1.0.6.tar.gz"
Hans-G?nter@21535 16 WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL"
Hans-G?nter@21535 17 #TARBALL_SHA1="3f89f861209ce81a6bab1fd1998c0ef311712002"
Hans-G?nter@21535 18 #TARBALL_MD5="00b516f4704d4a7cb50a1d97e6e8e15b"
Hans-G?nter@21536 19 # https://sourceware.org/pub/bzip2/sha512.sum
Hans-G?nter@21537 20 TARBALL_SHA512="083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3"
al@21105 21 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
al@21105 22
al@21124 23 CAT_libbzip2="libs|shared library"
al@21124 24
al@21105 25 DEPENDS_libbzip2=" "
al@21124 26 DEPENDS_std="lib$PACKAGE"
al@21124 27 DEPENDS_dev="lib$PACKAGE $PACKAGE"
al@21105 28
al@21105 29 TAGS_std="LFS compression archive"
gokhlayeh@8174 30
Hans-G?nter@21535 31 compile_rules()
Hans-G?nter@21535 32 {
al@21020 33 # add large-file support
al@21020 34 sed -i 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' ./Makefile-libbz2_so
al@20436 35
al@21020 36 make -f Makefile-libbz2_so &&
al@21020 37 make clean &&
al@21020 38 make &&
al@20436 39 make install || return 1
al@20436 40
Hans-G?nter@21535 41 rm $install/usr/bin/bunzip2
Hans-G?nter@21535 42 rm $install/usr/bin/bzcat
Hans-G?nter@21535 43 ln -s bzip2 $install/bin/bunzip2
Hans-G?nter@21535 44 ln -s bzip2 $install/bin/bzcat
pankso@12815 45 }
pankso@12815 46
pankso@12815 47 # Just to be sure when cross-compiling.
Hans-G?nter@21535 48 testsuite()
Hans-G?nter@21535 49 {
pankso@12815 50 readelf -h $src/bzip2-shared
pankso@11 51 }
pankso@11 52
al@21105 53 PROVIDE_libbzip2="bzlib"