wok view lxterminal/receipt @ rev 24207

updated perl-file-basedir (0.03 -> 0.09)
author Hans-G?nter Theisgen
date Fri Dec 31 15:40:31 2021 +0100 (2021-12-31)
parents 211713be9cab
children 3399d88bfd0e
line source
1 # SliTaz package receipt.
3 PACKAGE="lxterminal"
4 VERSION="0.3.2"
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-locales"
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 -j 1 &&
35 make DESTDIR=$DESTDIR install
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 & locales
47 rm -rf $fs/usr/share/man
48 rm -rf $fs/usr/share/locale
49 }