wok view sakura/receipt @ rev 16324

connman-ui: set a meaningful name to the source for mirror:/source/packages-cooking/
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 10 11:04:26 2014 +0000 (2014-04-10)
parents 2676fa7f0f93
children 838dd1108a60
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
38 cp -a $install/usr/bin $fs/usr
39 }