wok-6.x annotate evilvte/receipt @ rev 25445

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