wok-6.x annotate sakura/receipt @ rev 19342
Up busybox (1.25.0), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 20 09:51:19 2016 +0200 (2016-07-20) |
parents | 6775c03ff541 |
children | 4e4848510c9a |
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" |
al@17174 | 6 SHORT_DESC="A simple but powerful libvte-based terminal emulator" |
pankso@638 | 7 MAINTAINER="pankso@slitaz.org" |
al@17174 | 8 LICENSE="GPL2" |
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" |
al@17501 | 12 TAGS="terminal" |
pankso@16249 | 13 HOST_ARCH="i486 arm" |
al@15186 | 14 |
pankso@16531 | 15 DEPENDS="gtk+ vte xorg-libXdamage xorg-libXi" |
pankso@16531 | 16 BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev" |
pankso@16249 | 17 |
pankso@16249 | 18 # Handle cross compilation. |
pankso@16249 | 19 case "$ARCH" in |
pankso@16249 | 20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;; |
pankso@16249 | 21 esac |
pankso@638 | 22 |
pankso@638 | 23 # Rules to configure and make the package. |
pankso@638 | 24 compile_rules() |
pankso@774 | 25 { |
al@19035 | 26 patch -p1 -i $stuff/sakura-icon.patch |
al@19035 | 27 patch -p1 -i $stuff/ru.po.patch |
pascal@19036 | 28 patch -p1 -i $stuff/fr.po.patch |
al@19035 | 29 |
slaxemulator@7422 | 30 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && |
pascal@1539 | 31 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
erjo@4724 | 32 sed -i 's/-u//' CMakeLists.txt && |
erjo@4724 | 33 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
pascal@1539 | 34 make && |
al@15186 | 35 make DESTDIR=$DESTDIR install |
al@19035 | 36 cp -f $stuff/sakura.desktop $install/usr/share/applications |
pankso@638 | 37 } |
pankso@638 | 38 |
pankso@638 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@638 | 40 genpkg_rules() |
pankso@638 | 41 { |
pankso@16317 | 42 mkdir -p $fs/usr |
al@15186 | 43 cp -a $install/usr/bin $fs/usr |
pankso@638 | 44 } |
pankso@638 | 45 |