wok-next view nitrogen/receipt @ rev 12256
Up: slitaz-base-files (5.0) - Back to a cooking stat (WARNING: only toolchain and it deps must be updated for now)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 10 17:37:42 2012 +0200 (2012-04-10) |
parents | 99212aa2b897 |
children | 08eee30bdf5f |
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 cd $src
19 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
20 mv src/Thumbview.cc.patched src/Thumbview.cc
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
35 $fs/usr/share/pixmaps/
36 }