wok-next diff lxterminal/receipt @ rev 19943
Up xine-lib (1.2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 10:16:55 2017 +0200 (2017-10-16) |
parents | c9e270dd464f |
children | e756329576c3 |
line diff
1.1 --- a/lxterminal/receipt Thu Apr 23 16:47:39 2015 +0300 1.2 +++ b/lxterminal/receipt Mon Oct 16 10:16:55 2017 +0200 1.3 @@ -1,39 +1,39 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lxterminal" 1.8 -VERSION="0.2.0" 1.9 -CATEGORY="utilities" 1.10 +VERSION="0.3.0" 1.11 +CATEGORY="system-tools" 1.12 SHORT_DESC="LXDE terminal emulator" 1.13 MAINTAINER="gokhlayeh@slitaz.org" 1.14 LICENSE="GPL2" 1.15 -SUGGESTED="lxterminal-locales" 1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://lxde.org" 1.18 +WEB_SITE="https://wiki.lxde.org/en/LXTerminal" 1.19 + 1.20 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.21 WGET_URL="$SF_MIRROR/lxde/$TARBALL" 1.22 -TAGS="LXDE terminal" 1.23 1.24 -DEPENDS="vte gtk+" 1.25 -BUILD_DEPENDS="intltool vte-dev vte-terminal gtk+-dev" 1.26 +BUILD_DEPENDS="intltool gtk+-dev vte-gtk2-dev" 1.27 +SPLIT="lxterminal-locales" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - ./configure \ 1.33 - --prefix=/usr \ 1.34 - --infodir=/usr/share/info \ 1.35 - --mandir=/usr/share/man \ 1.36 - $CONFIGURE_ARGS && 1.37 - make && make DESTDIR=$DESTDIR install 1.38 +compile_rules() { 1.39 + sed -i '/_Keywords=/d; /TryExec=/d' $src/data/lxterminal.desktop.in 1.40 + 1.41 + ./configure $CONFIGURE_ARGS && make && make install 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 - mkdir -p $fs/usr 1.48 - cp -a $install/usr/bin $fs/usr 1.49 - cp -a $install/usr/share $fs/usr 1.50 - 1.51 - # Remove man & locales 1.52 - rm -rf $fs/usr/share/man 1.53 - rm -rf $fs/usr/share/locale 1.54 +genpkg_rules() { 1.55 + case $PACKAGE in 1.56 + lxterminal) 1.57 + copy @std 1.58 + rm -r $fs/usr/share/icons 1.59 + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango \ 1.60 + vte-gtk2 xorg-libX11 xorg-libXext" 1.61 + SUGGESTED="lxterminal-locales" 1.62 + TAGS="LXDE terminal" 1.63 + ;; 1.64 + *-locales) 1.65 + copy *.mo 1.66 + CAT="localization|locale files" 1.67 + DEPENDS="lxterminal" 1.68 + ;; 1.69 + esac 1.70 }