wok-current view evilvte/receipt @ rev 24545
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 24 19:32:16 2022 +0000 (2022-02-24) |
parents | 5d53e8ccbc8d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="evilvte"
4 VERSION="0.5.2~pre1"
5 CATEGORY="utilities"
6 SHORT_DESC="VTE based, highly customizable terminal emulator"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.calno.com/evilvte/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$WEB_SITE$TARBALL"
12 TAGS="terminal"
14 DEPENDS="gtk+ ncurses vte"
15 BUILD_DEPENDS="gtk+-dev ncurses-dev vte-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr &&
28 make -j1 &&
29 make DESTDIR=$install install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }