wok-next view nitrogen/receipt @ rev 13926

libbfd: up same version as binutils, 2.23.1
author ernia <monghitri@aruba.it>
date Sat Jan 26 02:19:21 2013 +0000 (2013-01-26)
parents 4f527a2114bf
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="nitrogen"
4 VERSION="1.5.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Nitrogen is a background browser and setter for X windows."
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="gtkmm libpng gcc-lib-base"
9 BUILD_DEPENDS="gtkmm gtkmm-dev libpng-dev pkg-config glib-dev gtk+-dev cairomm-dev xorg-libXinerama-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://projects.l3ib.org/nitrogen"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
13 TAGS="wallpaper"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="-Wl,--copy-dt-needed-entries"
21 cd $src
22 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
23 mv src/Thumbview.cc.patched src/Thumbview.cc
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
38 $fs/usr/share/pixmaps/
39 }