wok view libvterm/receipt @ rev 25804

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