wok-next view sakura-gtk2/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents c4e53a39395a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sakura-gtk2"
4 VERSION="2.4.2" # last sakura with gtk2 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"
11 TARBALL="sakura-$VERSION.tar.bz2"
12 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="cmake glib-dev gtk2-dev vte-gtk2-dev gettext"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DCMAKE_BUILD_TYPE=RELEASE \
22 -Wno-dev \
23 . &&
24 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
25 sed -i 's/-u//' CMakeLists.txt &&
26 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
27 make &&
28 make DESTDIR=$DESTDIR install || exit 1
30 cp -f $stuff/sakura.desktop $install/usr/share/applications
31 rm -rf $install/usr/share/pixmaps
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 copy @std
38 TAGS="terminal"
39 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk2 pango vte-gtk2 \
40 xorg-libX11 xorg-libXext"
41 PROVIDE="sakura"
42 }