wok-next annotate sakura-gtk2/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | |
children | c4e53a39395a |
rev | line source |
---|---|
al@19844 | 1 # SliTaz package receipt v2. |
al@19844 | 2 |
al@19844 | 3 PACKAGE="sakura-gtk2" |
al@19844 | 4 VERSION="2.4.2" # last sakura with gtk+2 is 2.4.2 |
al@19844 | 5 CATEGORY="utilities" |
al@19844 | 6 SHORT_DESC="Simple GTK+2 and VTE-based terminal emulator" |
al@19844 | 7 MAINTAINER="pankso@slitaz.org" |
al@19844 | 8 LICENSE="GPL2" |
al@19844 | 9 WEB_SITE="http://www.pleyades.net/david/projects/sakura" |
al@19844 | 10 HOST_ARCH="i486 arm" |
al@19844 | 11 |
al@19844 | 12 TARBALL="sakura-$VERSION.tar.bz2" |
al@19844 | 13 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL" |
al@19844 | 14 |
al@19844 | 15 BUILD_DEPENDS_arm="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev" |
al@19844 | 16 BUILD_DEPENDS="cmake glib-dev gtk+-dev vte-gtk2-dev gettext" |
al@19844 | 17 |
al@19844 | 18 # Rules to configure and make the package. |
al@19844 | 19 compile_rules() |
al@19844 | 20 { |
al@19844 | 21 cmake \ |
al@19844 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19844 | 23 -DCMAKE_BUILD_TYPE=RELEASE \ |
al@19844 | 24 -Wno-dev \ |
al@19844 | 25 . && |
al@19844 | 26 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
al@19844 | 27 sed -i 's/-u//' CMakeLists.txt && |
al@19844 | 28 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
al@19844 | 29 make && |
al@19844 | 30 make DESTDIR=$DESTDIR install || exit 1 |
al@19844 | 31 |
al@19844 | 32 cp -f $stuff/sakura.desktop $install/usr/share/applications |
al@19844 | 33 rm -rf $install/usr/share/pixmaps |
al@19844 | 34 } |
al@19844 | 35 |
al@19844 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19844 | 37 genpkg_rules() |
al@19844 | 38 { |
al@19844 | 39 copy @std |
al@19844 | 40 TAGS="terminal" |
al@19844 | 41 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango vte-gtk2 \ |
al@19844 | 42 xorg-libX11 xorg-libXext" |
al@19844 | 43 PROVIDE="sakura" |
al@19844 | 44 } |