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

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 0ed344a8daed
children f48456621a9d
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"
11 TARBALL="sakura-$VERSION.tar.bz2"
12 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS_arm="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev"
15 BUILD_DEPENDS="cmake glib-dev gtk+-dev vte-gtk2-dev gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_BUILD_TYPE=RELEASE \
23 -Wno-dev \
24 . &&
25 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
26 sed -i 's/-u//' CMakeLists.txt &&
27 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
28 make &&
29 make DESTDIR=$DESTDIR install || exit 1
31 cp -f $stuff/sakura.desktop $install/usr/share/applications
32 rm -rf $install/usr/share/pixmaps
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 copy @std
39 TAGS="terminal"
40 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango vte-gtk2 \
41 xorg-libX11 xorg-libXext"
42 PROVIDE="sakura"
43 }