wok-next view sakura-gtk2/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
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 }