wok view lxterminal/receipt @ rev 25606

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 11:40:29 2023 +0000 (10 months ago)
parents 56e6b4e63668
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lxterminal"
4 VERSION="0.4.0"
5 CATEGORY="utilities"
6 TAGS="LXDE terminal"
7 SHORT_DESC="LXDE terminal emulator."
8 MAINTAINER="gokhlayeh@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.lxde.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 SUGGESTED="lxterminal-lang"
16 DEPENDS="gtk+ vte"
17 BUILD_DEPENDS="gtk+-dev intltool vte-dev vte-terminal"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/lxde/files/LXTerminal%20%28terminal%20emulator%29/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share $fs/usr
47 # Remove man and locale
48 rm -rf $fs/usr/share/man
49 rm -rf $fs/usr/share/locale
50 }