wok-current view sakura/receipt @ rev 16302
Up: xfce4-ristretto (0.6.3)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Apr 07 09:34:52 2014 +0000 (2014-04-07) |
parents | 256340cc43f6 |
children | c3c55061e3e4 |
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"
15 BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-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/share/pixmaps
38 cp -a $install/usr/bin $fs/usr
39 cp $stuff/terminal-tango.png $fs/usr/share/pixmaps/
40 }