wok view sakura/receipt @ rev 16584

Some fixes to last commit
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 04 05:48:48 2014 +0200 (2014-05-04)
parents c3c55061e3e4
children 26a6bcd5604e
line source
1 # SliTaz package receipt
3 PACKAGE="sakura"
4 VERSION="2.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Lightweight GTK+/vte Terminal"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE=""
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 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ vte xorg-libXdamage xorg-libXi"
15 BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev"
17 # Handle cross compilation.
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/terminal-tango.svg/terminal-tango.png/' src/sakura.c &&
26 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
27 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
28 sed -i 's/-u//' CMakeLists.txt &&
29 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }