wok-6.x view gzip/receipt @ rev 18847

midori-video: remove gst-plugins-bad from depends

most used codecs are inside gst-ffmpeg-0.10.13
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jan 23 11:28:22 2016 +0100 (2016-01-23)
parents e715990c5f63
children 35a23f513b71
line source
1 # SliTaz package receipt.
3 PACKAGE="gzip"
4 VERSION="1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU compression utilities (gzip and gunzip)"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/gzip/"
11 WGET_URL="http://ftp.gnu.org/gnu/gzip/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="glibc-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/zgrep $fs/usr/bin
32 cp -a $install/usr/bin/gzip $fs/usr/bin
33 cp -a $install/usr/bin/gunzip $fs/usr/bin
34 }
36 # Pre and post install commands for Tazpkg.
37 # We must remove all Busybox symlink before installing.
38 pre_install()
39 {
40 echo -n "Removing Busybox gzip and gunzip utilities... "
41 rm -f "$1/bin/gzip" "$1/bin/gunzip"
42 status
43 }
45 post_remove()
46 {
47 echo -n "Restoring Busybox gzip and gunzip utilities... "
48 ln -s busybox "$1/bin/gzip"
49 ln -s busybox "$1/bin/gunzip"
50 status
51 }