wok-6.x annotate libvterm/receipt @ rev 25541

w3m: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 10 17:54:21 2023 +0000 (18 months ago)
parents 00914815b485
children
rev   line source
Hans-G?nter@25523 1 # SliTaz package receipt.
Hans-G?nter@25523 2
Hans-G?nter@25523 3 PACKAGE="libvterm"
Hans-G?nter@25523 4 VERSION="0.3"
Hans-G?nter@25523 5 CATEGORY="libs"
Hans-G?nter@25523 6 TAGS="terminal"
Hans-G?nter@25523 7 SHORT_DESC="Abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator."
Hans-G?nter@25523 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@25523 9 LICENSE="MIT"
Hans-G?nter@25523 10 WEB_SITE="http://www.leonerd.org.uk/code/libvterm/"
Hans-G?nter@25523 11
Hans-G?nter@25523 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25523 13 WGET_URL="http://www.leonerd.org.uk/code/$PACKAGE/$TARBALL"
Hans-G?nter@25523 14
Hans-G?nter@25523 15 BUILD_DEPENDS="libtool perl"
Hans-G?nter@25523 16
pascal@25531 17 # What is the latest version available today?
pascal@25531 18 current_version()
pascal@25531 19 {
pascal@25531 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@25531 21 sed '/tar.gz/!d;s|.*term-||;s|.tar.*||;q'
pascal@25531 22 }
pascal@25531 23
Hans-G?nter@25523 24 # Rules to configure and make the package.
Hans-G?nter@25523 25 compile_rules()
Hans-G?nter@25523 26 {
Hans-G?nter@25523 27 sed -i 's| -Wpedantic| -pedantic|' Makefile
Hans-G?nter@25523 28
Hans-G?nter@25523 29 make PREFIX=/usr &&
Hans-G?nter@25523 30 make install PREFIX=/usr
Hans-G?nter@25523 31 }
Hans-G?nter@25523 32
Hans-G?nter@25523 33 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@25523 34 genpkg_rules()
Hans-G?nter@25523 35 {
Hans-G?nter@25523 36 cook_copy_files *.so*
Hans-G?nter@25523 37 }