wok view nitrogen/receipt @ rev 16267

tazweb fix
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 19:43:34 2014 +0200 (2014-04-05)
parents 08eee30bdf5f
children 17e313b5b9c1
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://projects.l3ib.org/nitrogen"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="wallpaper"
14 DEPENDS="gtkmm libpng gcc-lib-base"
15 BUILD_DEPENDS="gtkmm gtkmm-dev libpng-dev pkg-config glib-dev gtk+-dev cairomm-dev xorg-libXinerama-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
23 cd $src
24 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
25 mv src/Thumbview.cc.patched src/Thumbview.cc
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/pixmaps
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
40 $fs/usr/share/pixmaps/
41 }