wok-next view sakura/receipt @ rev 14147

poppler and friends: up 0.22.1
author Samuel Trassare <samuel_trassare@yahoo.com>
date Sun Mar 03 13:51:02 2013 -0800 (2013-03-03)
parents f772a21989f9
children 256340cc43f6
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 DEPENDS="gtk+ vte xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev vte-dev gettext cmake wget"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pleyades.net/david/projects/sakura"
12 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/terminal-tango.svg/terminal-tango.png/' src/sakura.c &&
19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
20 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
21 sed -i 's/-u//' CMakeLists.txt &&
22 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp $stuff/terminal-tango.png $fs/usr/share/pixmaps/
33 }