wok annotate sakura/receipt @ rev 25553
Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 09 14:47:24 2023 +0000 (19 months ago) |
parents | 05c8d8d9d934 |
children |
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" |
pascal@23974 | 9 WEB_SITE="https://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 |
pascal@24071 | 23 current_version() |
pascal@24071 | 24 { |
pascal@24071 | 25 wget -O - https://launchpad.net/sakura 2>/dev/null | \ |
pascal@24071 | 26 sed '/Latest version/!d;s|.* is ||;q' |
pascal@24071 | 27 } |
pascal@24071 | 28 |
pankso@638 | 29 # Rules to configure and make the package. |
pankso@638 | 30 compile_rules() |
pankso@774 | 31 { |
al@19035 | 32 patch -p1 -i $stuff/sakura-icon.patch |
al@19035 | 33 patch -p1 -i $stuff/ru.po.patch |
pascal@19036 | 34 patch -p1 -i $stuff/fr.po.patch |
pascal@20659 | 35 patch -p1 -i $stuff/login_shell.patch |
al@19035 | 36 |
slaxemulator@7422 | 37 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . && |
pascal@1539 | 38 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt && |
erjo@4724 | 39 sed -i 's/-u//' CMakeLists.txt && |
erjo@4724 | 40 sed -i 's/-u//' CMakeFiles/man.dir/build.make && |
pascal@1539 | 41 make && |
al@15186 | 42 make DESTDIR=$DESTDIR install |
al@19035 | 43 cp -f $stuff/sakura.desktop $install/usr/share/applications |
pankso@638 | 44 } |
pankso@638 | 45 |
pankso@638 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@638 | 47 genpkg_rules() |
pankso@638 | 48 { |
pankso@16317 | 49 mkdir -p $fs/usr |
al@15186 | 50 cp -a $install/usr/bin $fs/usr |
pankso@638 | 51 } |
pankso@638 | 52 |