wok-next diff nitrogen/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | dd145c435e4b |
children | a20a093a9790 |
line diff
1.1 --- a/nitrogen/receipt Wed Feb 28 17:32:31 2018 +0200 1.2 +++ b/nitrogen/receipt Sun May 27 12:56:13 2018 +0300 1.3 @@ -1,42 +1,30 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="nitrogen" 1.8 VERSION="1.5.2" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Nitrogen is a background browser and setter for X windows." 1.11 +SHORT_DESC="Nitrogen is a background browser and setter for X windows" 1.12 MAINTAINER="mallory@sweetpeople.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://projects.l3ib.org/nitrogen" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://projects.l3ib.org/nitrogen" 1.18 WGET_URL="$WEB_SITE/files/$TARBALL" 1.19 -TAGS="wallpaper" 1.20 1.21 -DEPENDS="gtkmm libpng16 gcc-lib-base" 1.22 -BUILD_DEPENDS="gtkmm gtkmm-dev libpng16-dev pkg-config glib-dev gtk+-dev cairomm-dev xorg-libXinerama-dev" 1.23 +BUILD_DEPENDS="gtkmm-dev libpng16-dev glib-dev gtk+-dev cairomm-dev \ 1.24 +xorg-libXinerama-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 # Binutils 2.22 break many packages build without LDFLAGS set correctly. 1.31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.32 - 1.33 - cd $src 1.34 - sed -e '/png.h/d' < src/Thumbview.cc > src/Thumbview.cc.patched 1.35 - mv src/Thumbview.cc.patched src/Thumbview.cc 1.36 - ./configure \ 1.37 - --prefix=/usr \ 1.38 - --infodir=/usr/share/info \ 1.39 - --mandir=/usr/share/man \ 1.40 - $CONFIGURE_ARGS && 1.41 - make && make DESTDIR=$DESTDIR install 1.42 + 1.43 + sed -i '/png.h/d' src/Thumbview.cc 1.44 + 1.45 + ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 - mkdir -p $fs/usr/share/pixmaps 1.52 - cp -a $install/usr/bin $fs/usr 1.53 - cp -a $install/usr/share/icons/hicolor/32x32/apps/nitrogen.png \ 1.54 - $fs/usr/share/pixmaps/ 1.55 +genpkg_rules() { 1.56 + copy @std 1.57 + DEPENDS="gtkmm libpng16 gcc-lib-base" 1.58 + TAGS="wallpaper" 1.59 } 1.60 -