wok-next view sakura-gtk2/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | 5669e8b3be70 |
children |
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="devel@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-dev"
16 compile_rules() {
17 cmake \
18 -DCMAKE_INSTALL_PREFIX=/usr \
19 -DCMAKE_BUILD_TYPE=RELEASE \
20 -Wno-dev \
21 . &&
22 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
23 sed -i 's/-u//' CMakeLists.txt &&
24 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
25 make &&
26 make DESTDIR=$install install || return 1
28 cp -f $stuff/sakura.desktop $install/usr/share/applications
29 rm -rf $install/usr/share/pixmaps
30 }
32 genpkg_rules() {
33 copy @std
34 TAGS="terminal"
35 DEPENDS="atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 pango vte-gtk2 \
36 libx11 libxext"
37 PROVIDE="sakura"
38 }