wok-current annotate terminator/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 1722e3893bac |
children |
rev | line source |
---|---|
pankso@12698 | 1 # SliTaz package receipt. |
pankso@12698 | 2 |
pankso@12698 | 3 PACKAGE="terminator" |
Hans-G?nter@23695 | 4 VERSION="1.92" |
pankso@12698 | 5 CATEGORY="x-window" |
pascal@15001 | 6 SHORT_DESC="Tool for arranging terminals." |
pankso@12698 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@20679 | 9 WEB_SITE="https://gnometerminator.blogspot.com/p/introduction.html" |
pankso@12698 | 10 |
Hans-G?nter@23695 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23695 | 12 WGET_URL="https://github.com/gnome-terminator/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@22020 | 13 |
Hans-G?nter@22020 | 14 DEPENDS="notify-python pygtk python python-vte" |
Hans-G?nter@22020 | 15 BUILD_DEPENDS="python-dev" |
pankso@12698 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pankso@12698 | 23 # Rules to configure and make the package. |
pankso@12698 | 24 compile_rules() |
pankso@12698 | 25 { |
pascal@15165 | 26 python setup.py install --root=$DESTDIR 2>&1 | grep -v "GTK icon cache" |
pankso@12698 | 27 } |
pankso@12698 | 28 |
pankso@12698 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12698 | 30 genpkg_rules() |
pankso@12698 | 31 { |
pankso@12698 | 32 mkdir -p $fs/usr |
Hans-G?nter@22020 | 33 |
Hans-G?nter@22020 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22020 | 35 cp -a $install/usr/lib $fs/usr |
pankso@12698 | 36 } |