wok view nitrogen/receipt @ rev 4484

Add: bridge-utils, bridge-utils-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Nov 16 13:54:50 2009 +0000 (2009-11-16)
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 }