wok-current annotate sakura/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | 1d9949f99916 |
children | 6775c03ff541 |
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@16712 | 26 patch -p0 < $stuff/sakura-icon.patch && |
slaxemulator@7422 | 27 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && |
pascal@1539 | 28 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
erjo@4724 | 29 sed -i 's/-u//' CMakeLists.txt && |
erjo@4724 | 30 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
pascal@1539 | 31 make && |
al@15186 | 32 make DESTDIR=$DESTDIR install |
pankso@638 | 33 } |
pankso@638 | 34 |
pankso@638 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@638 | 36 genpkg_rules() |
pankso@638 | 37 { |
pankso@16317 | 38 mkdir -p $fs/usr |
al@15186 | 39 cp -a $install/usr/bin $fs/usr |
pankso@638 | 40 } |
pankso@638 | 41 |