wok view sakura/receipt @ rev 15365

php: enable-maintainer-zts, why do we need that ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 03 17:11:03 2013 +0000 (2013-10-03)
parents 5fafb0ebc7d5
children 2676fa7f0f93
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"
13 DEPENDS="gtk+ vte xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev vte-dev gettext cmake wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/terminal-tango.svg/terminal-tango.png/' src/sakura.c &&
20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
21 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
22 sed -i 's/-u//' CMakeLists.txt &&
23 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 cp -a $install/usr/bin $fs/usr
33 cp $stuff/terminal-tango.png $fs/usr/share/pixmaps/
34 }