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