wok annotate xz/receipt @ rev 17417

Add ttyrec
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 03 13:15:20 2014 +0100 (2014-12-03)
parents fd331c8e3aa5
children 63c5836ca32c
rev   line source
pascal@4151 1 # SliTaz package receipt.
pascal@4151 2
pascal@4151 3 PACKAGE="xz"
pascal@14799 4 VERSION="5.0.5"
pascal@4151 5 CATEGORY="base-system"
pascal@4151 6 SHORT_DESC="General-purpose data compressor with a high compression ratio."
pascal@4151 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14799 8 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3"
pascal@4151 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@4151 10 WEB_SITE="http://tukaani.org/xz"
pascal@4151 11 WGET_URL="$WEB_SITE/$TARBALL"
pascal@4862 12 PROVIDE="lzma"
pankso@12835 13 HOST_ARCH="i486 arm x86_64"
pascal@4151 14
pascal@14799 15 DEPENDS="liblzma"
pascal@14799 16 BUILD_DEPENDS=""
pankso@12913 17
pascal@4151 18 # Rules to configure and make the package.
pascal@4151 19 compile_rules()
pascal@4151 20 {
pascal@4151 21 cd $src
pankso@12811 22 ./configure \
pankso@12811 23 --enable-dynamic=yes \
pankso@12811 24 --enable-small \
pankso@12811 25 $CONFIGURE_ARGS &&
slaxemulator@10045 26 make && make install
pascal@4151 27 }
pascal@4151 28
pascal@4151 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4151 30 genpkg_rules()
pascal@4151 31 {
pankso@12913 32 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@12811 33 cp -a $install/usr/bin/xz $fs/usr/bin
slaxemulator@11129 34 #cp $stuff/lzma $fs/usr/bin
slaxemulator@11129 35 #ln -s lzma $fs/usr/bin/unlzma
slaxemulator@11129 36 #ln -s lzma $fs/usr/bin/lzcat
pascal@4151 37 }
pascal@7616 38
slaxemulator@7617 39 # Pre and post install commands for Tazpkg.
slaxemulator@7617 40 # We must remove all Busybox symlink before installing.
slaxemulator@7617 41 #
slaxemulator@11129 42 #pre_install()
slaxemulator@11129 43 #{
slaxemulator@11129 44 # local root
slaxemulator@11129 45 # root=$1
slaxemulator@11129 46 # echo "Processing pre-install commands..."
slaxemulator@11129 47 # echo -n "Removing all Busybox replaced utils... "
slaxemulator@11129 48 # rm -f $root/usr/bin/unlzma
slaxemulator@11129 49 # rm -f $root/usr/bin/lzcat
slaxemulator@11129 50 # status
slaxemulator@11129 51 #}
slaxemulator@7617 52
slaxemulator@11129 53 #post_remove()
slaxemulator@11129 54 #{
slaxemulator@11129 55 # ln -s /bin/busybox $1/usr/bin/unlzma
slaxemulator@11129 56 # ln -s /bin/busybox $1/usr/bin/lzcat
slaxemulator@11129 57 #}