wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sakura-gtk2"
4 VERSION="2.4.2" # last sakura with gtk+2 is 2.4.2
5 CATEGORY="utilities"
6 SHORT_DESC="Simple GTK+2 and VTE-based terminal emulator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.pleyades.net/david/projects/sakura"
10 HOST_ARCH="i486 arm"
12 TARBALL="sakura-$VERSION.tar.bz2"
13 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
15 BUILD_DEPENDS_arm="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev"
16 BUILD_DEPENDS="cmake glib-dev gtk+-dev vte-gtk2-dev gettext"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=RELEASE \
24 -Wno-dev \
25 . &&
26 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
27 sed -i 's/-u//' CMakeLists.txt &&
28 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
29 make &&
30 make DESTDIR=$DESTDIR install || exit 1
32 cp -f $stuff/sakura.desktop $install/usr/share/applications
33 rm -rf $install/usr/share/pixmaps
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 copy @std
40 TAGS="terminal"
41 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango vte-gtk2 \
42 xorg-libX11 xorg-libXext"
43 PROVIDE="sakura"
44 }