wok-current annotate sakura/receipt @ rev 13638
Up: embryo (1.7.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 16 00:04:15 2012 +0100 (2012-11-16) |
parents | bac7a17e05d2 |
children | f772a21989f9 |
rev | line source |
---|---|
pankso@638 | 1 # SliTaz package receipt |
pankso@638 | 2 |
pankso@638 | 3 PACKAGE="sakura" |
slaxemulator@7422 | 4 VERSION="2.3.8" |
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" |
slaxemulator@7422 | 9 BUILD_DEPENDS="gtk+-dev vte-dev gettext 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 |
slaxemulator@7422 | 18 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && |
pascal@1539 | 19 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
erjo@4724 | 20 sed -i 's/-u//' CMakeLists.txt && |
erjo@4724 | 21 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
pascal@1539 | 22 make && |
pankso@638 | 23 make DESTDIR=$PWD/_pkg install |
pankso@638 | 24 } |
pankso@638 | 25 |
pankso@638 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@638 | 27 genpkg_rules() |
pankso@638 | 28 { |
pascal@11623 | 29 mkdir -p $fs/usr/share/applications |
pascal@11623 | 30 cp -a $stuff/sakura.desktop $fs/usr/share/applications |
pankso@638 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@638 | 32 } |
pankso@638 | 33 |