wok-next view bzip2/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | 7387df590f12 |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bzip2"
4 VERSION="1.0.6"
5 CATEGORY="utilities"
6 SHORT_DESC="A program and library for data compression"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.bzip.org/"
10 TAGS="compression archive"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="http://www.bzip.org/$VERSION/$TARBALL"
16 SPLIT="bzlib bzip2-apps bzip2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # No configure script, we must used CC, AR and RANLIB set by cook.
22 case "$ARCH" in
23 arm*)
24 make -f Makefile-libbz2_so CC=${CC} AR=${AR} RANLIB=${RANLIB} &&
25 make clean && make CC=${CC} AR=${AR} RANLIB=${RANLIB} ;;
26 *)
27 make -f Makefile-libbz2_so &&
28 make clean && make ;;
29 esac
31 make install
32 }
34 # Just to be sure when cross-compiling.
35 testsuite()
36 {
37 readelf -h $src/bzip2-shared
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 bzip2)
45 copy bzip2 bunzip2 bzcat
46 DEPENDS="bzlib"
47 ;;
48 bzlib)
49 copy *.so*
50 DEPENDS=" "
51 CAT="libs|library"
52 ;;
53 bzip2-apps)
54 copy bin/
55 remove_already_packed
56 DEPENDS="bzlib"
57 CAT="utilities|apps"
58 ;;
59 bzip2-dev)
60 copy @dev
61 ;;
62 esac
63 }