wok-6.x view uget/receipt @ rev 11585
gecko-mediaplayer: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 17:32:11 2012 +0100 (2012-01-08) |
parents | acac501e1bff |
children | 3fa620c3d272 |
line source
1 # SliTaz package receipt.
3 PACKAGE="uget"
4 VERSION="1.6.2a"
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 }