wok annotate sakura/receipt @ rev 3919

linux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 18 19:22:04 2009 +0200 (2009-08-18)
parents 0e2bd4ef45e9
children 91e4159dad79
rev   line source
pankso@638 1 # SliTaz package receipt
pankso@638 2
pankso@638 3 PACKAGE="sakura"
pankso@2004 4 VERSION="2.3.2"
pascal@741 5 CATEGORY="utilities"
pankso@638 6 SHORT_DESC="Lightweight GTK+/vte Terminal"
pankso@638 7 MAINTAINER="pankso@slitaz.org"
pascal@2524 8 DEPENDS="gtk+ vte xorg-libXdamage"
pankso@882 9 BUILD_DEPENDS="gtk+-dev vte-dev cmake"
pankso@638 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@638 11 WEB_SITE="http://pleyades.net/david/sakura.php"
pankso@638 12 WGET_URL="http://pleyades.net/david/projects/sakura/$TARBALL"
pankso@638 13
pankso@638 14 # Rules to configure and make the package.
pankso@638 15 compile_rules()
pankso@774 16 {
pankso@638 17 cd $src
pascal@1539 18 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@1539 19 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
pascal@1539 20 make &&
pankso@638 21 make DESTDIR=$PWD/_pkg install
pankso@638 22 }
pankso@638 23
pankso@638 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@638 25 genpkg_rules()
pankso@638 26 {
pankso@638 27 mkdir -p $fs/usr
pankso@638 28 cp -a $_pkg/usr/bin $fs/usr
pankso@638 29 }
pankso@638 30