wok view uget/receipt @ rev 12930

celestia: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 10:08:34 2012 +0200 (2012-05-30)
parents 02bbaa9d12ba
children 76b72f1ad63c
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 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=$DESTDIR 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 }