wok-next diff sakura-gtk2/receipt @ rev 19988

Add qt5 - now it's look good enough
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 03:29:40 2017 +0300 (2017-10-20)
parents
children c4e53a39395a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sakura-gtk2/receipt	Fri Oct 20 03:29:40 2017 +0300
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="sakura-gtk2"
     1.7 +VERSION="2.4.2" # last sakura with gtk+2 is 2.4.2
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Simple GTK+2 and VTE-based terminal emulator"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://www.pleyades.net/david/projects/sakura"
    1.13 +HOST_ARCH="i486 arm"
    1.14 +
    1.15 +TARBALL="sakura-$VERSION.tar.bz2"
    1.16 +WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS_arm="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev"
    1.19 +BUILD_DEPENDS="cmake glib-dev gtk+-dev vte-gtk2-dev gettext"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	cmake \
    1.25 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.26 +		-DCMAKE_BUILD_TYPE=RELEASE \
    1.27 +		-Wno-dev \
    1.28 +		. &&
    1.29 +	sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
    1.30 +	sed -i 's/-u//' CMakeLists.txt &&
    1.31 +	sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
    1.32 +	make &&
    1.33 +	make DESTDIR=$DESTDIR install || exit 1
    1.34 +
    1.35 +	cp -f $stuff/sakura.desktop $install/usr/share/applications
    1.36 +	rm -rf $install/usr/share/pixmaps
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	copy @std
    1.43 +	TAGS="terminal"
    1.44 +	DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango vte-gtk2 \
    1.45 +	xorg-libX11 xorg-libXext"
    1.46 +	PROVIDE="sakura"
    1.47 +}