wok-current diff nitrogen/receipt @ rev 4874

thunar: Strip more files.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 04 23:30:56 2010 +0100 (2010-02-04)
parents
children bee79018e13a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nitrogen/receipt	Thu Feb 04 23:30:56 2010 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nitrogen"
     1.7 +VERSION="1.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Nitrogen is a background browser and setter for X windows."
    1.10 +MAINTAINER="mallory@sweetpeople.org"
    1.11 +DEPENDS="gtkmm libpng"
    1.12 +BUILD_DEPENDS="gtkmm-dev libpng-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://projects.l3ib.org/nitrogen"
    1.15 +WGET_URL="$WEB_SITE/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +    sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
    1.22 +    mv src/Thumbview.cc.patched src/Thumbview.cc
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 +		--infodir=/usr/share/info \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make && make DESTDIR=$PWD/_pkg install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +    cp -a $_pkg/usr/share/icons/hicolor/32x32/apps/nitrogen.png $fs/usr/share/pixmaps/
    1.37 +    cp -a stuff/nitrogen.desktop $fs/usr/share/applications/
    1.38 +}
    1.39 +