wok-next annotate sakura-gtk2/receipt @ rev 20992

eduke32: simplify bdeps, fix build for i486
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 11:45:29 2018 +0300 (2018-10-04)
parents 0ed344a8daed
children f48456621a9d
rev   line source
al@19844 1 # SliTaz package receipt v2.
al@19844 2
al@19844 3 PACKAGE="sakura-gtk2"
al@19844 4 VERSION="2.4.2" # last sakura with gtk+2 is 2.4.2
al@19844 5 CATEGORY="utilities"
al@19844 6 SHORT_DESC="Simple GTK+2 and VTE-based terminal emulator"
al@19844 7 MAINTAINER="pankso@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@19844 14 BUILD_DEPENDS_arm="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev"
al@19844 15 BUILD_DEPENDS="cmake glib-dev gtk+-dev vte-gtk2-dev gettext"
al@19844 16
al@19844 17 # Rules to configure and make the package.
al@19844 18 compile_rules()
al@19844 19 {
al@19844 20 cmake \
al@19844 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@19844 22 -DCMAKE_BUILD_TYPE=RELEASE \
al@19844 23 -Wno-dev \
al@19844 24 . &&
al@19844 25 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
al@19844 26 sed -i 's/-u//' CMakeLists.txt &&
al@19844 27 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
al@19844 28 make &&
al@19844 29 make DESTDIR=$DESTDIR install || exit 1
al@19844 30
al@19844 31 cp -f $stuff/sakura.desktop $install/usr/share/applications
al@19844 32 rm -rf $install/usr/share/pixmaps
al@19844 33 }
al@19844 34
al@19844 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19844 36 genpkg_rules()
al@19844 37 {
al@19844 38 copy @std
al@19844 39 TAGS="terminal"
al@19844 40 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango vte-gtk2 \
al@19844 41 xorg-libX11 xorg-libXext"
al@19844 42 PROVIDE="sakura"
al@19844 43 }