wok-next annotate sakura-gtk2/receipt @ rev 21119
libarchive: depends on libzstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 03:39:08 2019 +0200 (2019-01-14) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@19844 | 1 # SliTaz package receipt v2. |
al@19844 | 2 |
al@19844 | 3 PACKAGE="sakura-gtk2" |
al@21017 | 4 VERSION="2.4.2" # last sakura with gtk2 is 2.4.2 |
al@19844 | 5 CATEGORY="utilities" |
al@19844 | 6 SHORT_DESC="Simple GTK+2 and VTE-based terminal emulator" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
al@19844 | 8 LICENSE="GPL2" |
al@19844 | 9 WEB_SITE="http://www.pleyades.net/david/projects/sakura" |
al@19844 | 10 |
al@19844 | 11 TARBALL="sakura-$VERSION.tar.bz2" |
al@19844 | 12 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL" |
al@19844 | 13 |
al@21020 | 14 BUILD_DEPENDS="cmake glib-dev gtk2-dev vte-gtk2-dev gettext-dev" |
al@19844 | 15 |
al@21020 | 16 compile_rules() { |
al@19844 | 17 cmake \ |
al@19844 | 18 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19844 | 19 -DCMAKE_BUILD_TYPE=RELEASE \ |
al@19844 | 20 -Wno-dev \ |
al@19844 | 21 . && |
al@19844 | 22 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
al@19844 | 23 sed -i 's/-u//' CMakeLists.txt && |
al@19844 | 24 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
al@19844 | 25 make && |
al@21020 | 26 make DESTDIR=$install install || return 1 |
al@19844 | 27 |
al@19844 | 28 cp -f $stuff/sakura.desktop $install/usr/share/applications |
al@19844 | 29 rm -rf $install/usr/share/pixmaps |
al@19844 | 30 } |
al@19844 | 31 |
al@21020 | 32 genpkg_rules() { |
al@19844 | 33 copy @std |
al@19844 | 34 TAGS="terminal" |
al@21105 | 35 DEPENDS="atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 pango vte-gtk2 \ |
al@21078 | 36 libx11 libxext" |
al@19844 | 37 PROVIDE="sakura" |
al@19844 | 38 } |