wok annotate nitrogen/receipt @ rev 17990
qemu: apply cloop.u (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 23 15:15:23 2015 +0200 (2015-04-23) |
parents | 380ffe05937a |
children | eeba7ab1dffe |
rev | line source |
---|---|
mallory@3116 | 1 # SliTaz package receipt. |
mallory@3116 | 2 |
mallory@3116 | 3 PACKAGE="nitrogen" |
slaxemulator@10248 | 4 VERSION="1.5.2" |
mallory@3116 | 5 CATEGORY="x-window" |
mallory@3116 | 6 SHORT_DESC="Nitrogen is a background browser and setter for X windows." |
mallory@3116 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15000 | 8 LICENSE="GPL2" |
mallory@3116 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@3116 | 10 WEB_SITE="http://projects.l3ib.org/nitrogen" |
mallory@3116 | 11 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@4969 | 12 TAGS="wallpaper" |
mallory@3116 | 13 |
pascal@15000 | 14 DEPENDS="gtkmm libpng gcc-lib-base" |
pascal@15000 | 15 BUILD_DEPENDS="gtkmm gtkmm-dev libpng-dev pkg-config glib-dev gtk+-dev cairomm-dev xorg-libXinerama-dev" |
pascal@15000 | 16 |
mallory@3116 | 17 # Rules to configure and make the package. |
mallory@3116 | 18 compile_rules() |
mallory@3116 | 19 { |
pascal@12654 | 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12654 | 22 |
mallory@3116 | 23 cd $src |
mallory@3116 | 24 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched |
mallory@3116 | 25 mv src/Thumbview.cc.patched src/Thumbview.cc |
mallory@3116 | 26 ./configure \ |
mallory@3116 | 27 --prefix=/usr \ |
mallory@3116 | 28 --infodir=/usr/share/info \ |
mallory@3116 | 29 --mandir=/usr/share/man \ |
mallory@3116 | 30 $CONFIGURE_ARGS && |
pascal@15000 | 31 make && make DESTDIR=$DESTDIR install |
mallory@3116 | 32 } |
mallory@3116 | 33 |
mallory@3116 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3116 | 35 genpkg_rules() |
mallory@3116 | 36 { |
samuel_trassare@12062 | 37 mkdir -p $fs/usr/share/pixmaps |
pascal@15000 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 39 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \ |
samuel_trassare@12062 | 40 $fs/usr/share/pixmaps/ |
mallory@3116 | 41 } |
mallory@3116 | 42 |