wok annotate sakura/receipt @ rev 14972
Up: firefox-langpack-ru (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:20:09 2013 +0200 (2013-08-08) |
parents | f772a21989f9 |
children | 256340cc43f6 |
rev | line source |
---|---|
pankso@638 | 1 # SliTaz package receipt |
pankso@638 | 2 |
pankso@638 | 3 PACKAGE="sakura" |
devl547@13802 | 4 VERSION="2.4.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" |
devl547@13802 | 9 BUILD_DEPENDS="gtk+-dev vte-dev gettext cmake wget" |
pankso@638 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@13802 | 11 WEB_SITE="http://www.pleyades.net/david/projects/sakura" |
devl547@13802 | 12 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$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 |
monghitri@13909 | 18 sed -i 's/terminal-tango.svg/terminal-tango.png/' src/sakura.c && |
slaxemulator@7422 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && |
pascal@1539 | 20 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
erjo@4724 | 21 sed -i 's/-u//' CMakeLists.txt && |
erjo@4724 | 22 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
pascal@1539 | 23 make && |
pankso@638 | 24 make DESTDIR=$PWD/_pkg install |
pankso@638 | 25 } |
pankso@638 | 26 |
pankso@638 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@638 | 28 genpkg_rules() |
pankso@638 | 29 { |
monghitri@13909 | 30 mkdir -p $fs/usr/share/pixmaps |
pankso@638 | 31 cp -a $_pkg/usr/bin $fs/usr |
monghitri@13909 | 32 cp $stuff/terminal-tango.png $fs/usr/share/pixmaps/ |
pankso@638 | 33 } |
pankso@638 | 34 |