wok annotate stjerm-terminal/receipt @ rev 25062

Up foomatic-db-nonfree (20210824)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 10:29:31 2022 +0000 (2022-06-07)
parents 5ea0ce1cecc0
children
rev   line source
mallory@2652 1 # SliTaz package receipt.
mallory@2652 2
mallory@2652 3 PACKAGE="stjerm-terminal"
mallory@2652 4 SOURCE="stjerm"
Hans-G?nter@21976 5 VERSION="0.18"
mallory@2652 6 CATEGORY="x-window"
Hans-G?nter@21976 7 TAGS="terminal"
Hans-G?nter@21976 8 SHORT_DESC="A quake-like terminal emulator. It's window is shown with a key shortcut."
mallory@2652 9 MAINTAINER="mallory@sweetpeople.org"
pascal@15097 10 LICENSE="GPL2"
Hans-G?nter@21976 11 WEB_SITE="https://github.com/stjerm/stjerm"
Hans-G?nter@21976 12
mallory@2652 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21976 14 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
mallory@2652 15
pascal@15097 16 DEPENDS="vte"
Hans-G?nter@21976 17 BUILD_DEPENDS="automake glib-dev gtk+-dev vte-dev"
pascal@15097 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24299 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
mallory@2652 25 # Rules to configure and make the package.
mallory@2652 26 compile_rules()
mallory@2652 27 {
pascal@15097 28 ./autogen.sh
Hans-G?nter@21976 29 ./configure \
Hans-G?nter@21976 30 --prefix=/usr \
Hans-G?nter@21976 31 --infodir=/usr/share/info \
Hans-G?nter@21976 32 --mandir=/usr/share/man \
mallory@2652 33 $CONFIGURE_ARGS &&
Hans-G?nter@21976 34 make &&
Hans-G?nter@21976 35 make DESTDIR=$DESTDIR install
mallory@2652 36 }
mallory@2652 37
mallory@2652 38 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2652 39 genpkg_rules()
mallory@2652 40 {
mallory@2652 41 mkdir -p $fs/usr
pascal@15097 42 cp -a $install/usr/bin $fs/usr
mallory@2652 43 }