wok-6.x view uget/receipt @ rev 6435

Up: irssi-scripts to 2.0
author Julien Rabier <taziden@slitaz.org>
date Mon Sep 27 18:01:01 2010 +0000 (2010-09-27)
parents 698008aaaab1
children 6026ed27d7ee
line source
1 # SliTaz package receipt.
3 PACKAGE="uget"
4 VERSION="1.6.0"
5 CATEGORY="network"
6 SHORT_DESC="Download manager using gtk+ and libcurl"
7 DEPENDS="pcre glib curl gtk+"
8 BUILD_DEPENDS="pcre-dev glib-dev curl-dev gtk+-dev intltool"
9 MAINTAINER="devl547@gmail.com"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://urlget.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/urlget/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --disable-gstreamer \
22 --disable-notify \
23 $CONFIGURE_ARGS \
24 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
25 make -j2 -s &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr/
34 cp -a $_pkg/usr/share/applications/ $fs/usr/share
35 cp -a $_pkg/usr/share/icons/ $fs/usr/share
36 cp -a $_pkg/usr/share/sounds/ $fs/usr/share
37 strip -s $fs/usr/bin/*
38 }