wok-current view nitrogen/receipt @ rev 17024
usbids: up 20140731
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 14 09:20:02 2014 +0000 (2014-08-14) |
parents | 08eee30bdf5f |
children | 17e313b5b9c1 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://projects.l3ib.org/nitrogen"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="wallpaper"
14 DEPENDS="gtkmm libpng gcc-lib-base"
15 BUILD_DEPENDS="gtkmm gtkmm-dev libpng-dev pkg-config glib-dev gtk+-dev cairomm-dev xorg-libXinerama-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
23 cd $src
24 sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched
25 mv src/Thumbview.cc.patched src/Thumbview.cc
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/pixmaps
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \
40 $fs/usr/share/pixmaps/
41 }