wok view sakura/receipt @ rev 15541
Up: firefox-langpack-id (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:32 2013 +0100 (2013-11-24) |
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 }