wok view lxterminal/receipt @ rev 25512
memtest: 386/1M support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 07:20:48 2023 +0000 (21 months ago) |
parents | 3399d88bfd0e |
children | d3556b8f5c3d |
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 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 }