wok view sakura/receipt @ rev 20181
Update some compressors (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 29 17:58:54 2018 +0100 (2018-01-29) |
parents | 6775c03ff541 |
children | 4e4848510c9a |
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
28 patch -p1 -i $stuff/fr.po.patch
30 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
31 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
32 sed -i 's/-u//' CMakeLists.txt &&
33 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 cp -f $stuff/sakura.desktop $install/usr/share/applications
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }