wok view nitrogen/receipt @ rev 4315

Up: net6 (1.3.10) fix build with new gnutls package
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 28 21:26:33 2009 +0200 (2009-09-28)
parents
children bee79018e13a
line source
1 # SliTaz package receipt.
3 PACKAGE="nitrogen"
4 VERSION="1.4"
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"
9 BUILD_DEPENDS="gtkmm-dev libpng-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://projects.l3ib.org/nitrogen"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
19 mv src/Thumbview.cc.patched src/Thumbview.cc
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png $fs/usr/share/pixmaps/
34 cp -a stuff/nitrogen.desktop $fs/usr/share/applications/
35 }