wok-next view sakura/receipt @ rev 17201
remove remmina-plugins
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 09:52:41 2014 +0200 (2014-10-09) |
parents | 26a6bcd5604e |
children | 5d53e8ccbc8d |
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 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 }