wok view lxterminal/receipt @ rev 24947
updated nagios-nrpe (4.0.2 -> 4.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:39:55 2022 +0100 (2022-04-22) |
parents | ee53899c6189 |
children | 56e6b4e63668 |
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://wiki.lxde.org/en/LXTerminal"
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 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/lxde/files/LXTerminal%20%28terminal%20emulator%29/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share $fs/usr
46 # Remove man and locale
47 rm -rf $fs/usr/share/man
48 rm -rf $fs/usr/share/locale
49 }