wok view uget/receipt @ rev 15502

util-linux-flock: fix pre_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 18:13:51 2013 +0000 (2013-11-17)
parents 3fa620c3d272
children 4ff6f533fc73
line source
1 # SliTaz package receipt.
3 PACKAGE="uget"
4 VERSION="1.8.1"
5 CATEGORY="network"
6 SHORT_DESC="Download manager using gtk+ and libcurl"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://urlget.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/urlget/$TARBALL"
13 DEPENDS="pcre glib curl gtk+"
14 BUILD_DEPENDS="pcre-dev glib-dev curl-dev gtk+-dev intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --disable-gstreamer \
24 --disable-notify \
25 $CONFIGURE_ARGS \
26 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
27 make -j2 -s &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr/
36 cp -a $install/usr/share/applications/ $fs/usr/share
37 cp -a $install/usr/share/icons/ $fs/usr/share
38 cp -a $install/usr/share/sounds/ $fs/usr/share
39 }