wok-current view sakura/receipt @ rev 16939

Up geeqie (1.2)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Jul 23 13:55:35 2014 +0200 (2014-07-23)
parents 838dd1108a60
children 1d9949f99916
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 patch -p0 < $stuff/sakura-icon.patch &&
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 }