wok view sakura/receipt @ rev 19035

sakura: use Freedesktop standard icon
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 12 15:20:41 2016 +0300 (2016-04-12)
parents 5d53e8ccbc8d
children e7ef03df3c49
line source
1 # SliTaz package receipt
3 PACKAGE="sakura"
4 VERSION="2.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="A simple but powerful libvte-based terminal emulator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.pleyades.net/david/projects/sakura"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
12 TAGS="terminal"
13 HOST_ARCH="i486 arm"
15 DEPENDS="gtk+ vte xorg-libXdamage xorg-libXi"
16 BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev"
18 # Handle cross compilation.
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -p1 -i $stuff/sakura-icon.patch
27 patch -p1 -i $stuff/ru.po.patch
29 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
30 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
31 sed -i 's/-u//' CMakeLists.txt &&
32 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 cp -f $stuff/sakura.desktop $install/usr/share/applications
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }