wok annotate sakura/receipt @ rev 16834
Add oxygen-gtk, oxygen-icons.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 12 16:57:27 2014 +0300 (2014-07-12) |
parents | 838dd1108a60 |
children | 1d9949f99916 |
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" |
al@15186 | 8 LICENSE="" |
al@15186 | 9 WEB_SITE="http://www.pleyades.net/david/projects/sakura" |
al@15186 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@15186 | 11 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL" |
pankso@16249 | 12 HOST_ARCH="i486 arm" |
al@15186 | 13 |
pankso@16531 | 14 DEPENDS="gtk+ vte xorg-libXdamage xorg-libXi" |
pankso@16531 | 15 BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev" |
pankso@16249 | 16 |
pankso@16249 | 17 # Handle cross compilation. |
pankso@16249 | 18 case "$ARCH" in |
pankso@16249 | 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;; |
pankso@16249 | 20 esac |
pankso@638 | 21 |
pankso@638 | 22 # Rules to configure and make the package. |
pankso@638 | 23 compile_rules() |
pankso@774 | 24 { |
al@16712 | 25 patch -p0 < $stuff/sakura-icon.patch && |
slaxemulator@7422 | 26 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && |
pascal@1539 | 27 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
erjo@4724 | 28 sed -i 's/-u//' CMakeLists.txt && |
erjo@4724 | 29 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
pascal@1539 | 30 make && |
al@15186 | 31 make DESTDIR=$DESTDIR install |
pankso@638 | 32 } |
pankso@638 | 33 |
pankso@638 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@638 | 35 genpkg_rules() |
pankso@638 | 36 { |
pankso@16317 | 37 mkdir -p $fs/usr |
al@15186 | 38 cp -a $install/usr/bin $fs/usr |
pankso@638 | 39 } |
pankso@638 | 40 |