wok-4.x annotate nitrogen/receipt @ rev 12070
transmission: fix bdeps
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 09 03:35:40 2012 +0100 (2012-03-09) |
parents | 99212aa2b897 |
children |
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@5004 | 8 DEPENDS="gtkmm libpng gcc-lib-base" |
slaxemulator@6347 | 9 BUILD_DEPENDS="gtkmm gtkmm-dev libpng-dev pkg-config glib-dev gtk+-dev cairomm-dev xorg-libXinerama-dev" |
mallory@3116 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@3116 | 11 WEB_SITE="http://projects.l3ib.org/nitrogen" |
mallory@3116 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@4969 | 13 TAGS="wallpaper" |
mallory@3116 | 14 |
mallory@3116 | 15 # Rules to configure and make the package. |
mallory@3116 | 16 compile_rules() |
mallory@3116 | 17 { |
mallory@3116 | 18 cd $src |
mallory@3116 | 19 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched |
mallory@3116 | 20 mv src/Thumbview.cc.patched src/Thumbview.cc |
mallory@3116 | 21 ./configure \ |
mallory@3116 | 22 --prefix=/usr \ |
mallory@3116 | 23 --infodir=/usr/share/info \ |
mallory@3116 | 24 --mandir=/usr/share/man \ |
mallory@3116 | 25 $CONFIGURE_ARGS && |
mallory@3116 | 26 make && make DESTDIR=$PWD/_pkg install |
mallory@3116 | 27 } |
mallory@3116 | 28 |
mallory@3116 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3116 | 30 genpkg_rules() |
mallory@3116 | 31 { |
samuel_trassare@12062 | 32 mkdir -p $fs/usr/share/pixmaps |
mallory@3116 | 33 cp -a $_pkg/usr/bin $fs/usr |
samuel_trassare@12062 | 34 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png \ |
samuel_trassare@12062 | 35 $fs/usr/share/pixmaps/ |
mallory@3116 | 36 } |
mallory@3116 | 37 |