wok-next view ziproxy/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0f20f040bbec |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ziproxy"
4 VERSION="3.2.1"
5 CATEGORY="network"
6 SHORT_DESC="HTTP traffic compressor."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://ziproxy.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/ziproxy"
14 DEPENDS="giflib jasper jpeg libsasl cyrus-sasl zlib libpng16"
15 BUILD_DEPENDS="giflib-dev jasper-dev jpeg-dev cyrus-sasl-dev zlib-dev libpng16-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/DGifCloseFile(GifFile/&,NULL/;s/input))/input,NULL))/' src/image.c
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $src/etc $fs
34 cp -a $src/var $fs
35 chown -R root.root $fs
36 }