wok annotate sakura/receipt @ rev 23268
updated osip and osip-dev (5.1.0 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 28 10:41:34 2020 +0100 (2020-03-28) |
parents | bb52d6e358fb |
children | 05c8d8d9d934 |
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 |
pascal@20659 | 29 patch -p1 -i $stuff/login_shell.patch |
al@19035 | 30 |
slaxemulator@7422 | 31 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && |
pascal@1539 | 32 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
erjo@4724 | 33 sed -i 's/-u//' CMakeLists.txt && |
erjo@4724 | 34 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
pascal@1539 | 35 make && |
al@15186 | 36 make DESTDIR=$DESTDIR install |
al@19035 | 37 cp -f $stuff/sakura.desktop $install/usr/share/applications |
pankso@638 | 38 } |
pankso@638 | 39 |
pankso@638 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@638 | 41 genpkg_rules() |
pankso@638 | 42 { |
pankso@16317 | 43 mkdir -p $fs/usr |
al@15186 | 44 cp -a $install/usr/bin $fs/usr |
pankso@638 | 45 } |
pankso@638 | 46 |