wok-6.x view sakura/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | bac7a17e05d2 |
children | f772a21989f9 |
line source
1 # SliTaz package receipt
3 PACKAGE="sakura"
4 VERSION="2.3.8"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://pleyades.net/david/sakura.php"
12 WGET_URL="http://pleyades.net/david/projects/sakura/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
19 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
20 sed -i 's/-u//' CMakeLists.txt &&
21 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/applications
30 cp -a $stuff/sakura.desktop $fs/usr/share/applications
31 cp -a $_pkg/usr/bin $fs/usr
32 }