wok-current view nitrogen/receipt @ rev 20637
updated curl (7.60.0 -> 7.61.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 10 14:26:43 2019 +0100 (2019-01-10) |
parents | 380ffe05937a |
children | eeba7ab1dffe |
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="$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 }