wok-6.x view nitrogen/receipt @ rev 18258

Add pflogsumm (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 04 21:48:04 2015 +0200 (2015-08-04)
parents 380ffe05937a
children eeba7ab1dffe
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="$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 }