wok annotate lxterminal/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (20 months ago) |
parents | 3399d88bfd0e |
children | d3556b8f5c3d |
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@24071 | 19 current_version() |
pascal@24071 | 20 { |
pascal@24071 | 21 wget -O - https://sourceforge.net/projects/lxde/files/LXTerminal%20%28terminal%20emulator%29/ 2>/dev/null | \ |
pascal@24071 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 23 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 24 } |
pascal@24071 | 25 |
gokhlayeh@5956 | 26 # Rules to configure and make the package. |
gokhlayeh@5956 | 27 compile_rules() |
gokhlayeh@5956 | 28 { |
Hans-G?nter@21396 | 29 ./configure \ |
Hans-G?nter@21396 | 30 --prefix=/usr \ |
Hans-G?nter@21396 | 31 --infodir=/usr/share/info \ |
Hans-G?nter@21396 | 32 --mandir=/usr/share/man \ |
gokhlayeh@5956 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@24872 | 34 make && |
Hans-G?nter@24872 | 35 make install DESTDIR=$DESTDIR |
gokhlayeh@5956 | 36 } |
gokhlayeh@5956 | 37 |
gokhlayeh@5956 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5956 | 39 genpkg_rules() |
gokhlayeh@5956 | 40 { |
gokhlayeh@5956 | 41 mkdir -p $fs/usr |
Hans-G?nter@21396 | 42 |
Hans-G?nter@21396 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21396 | 44 cp -a $install/usr/share $fs/usr |
gokhlayeh@5956 | 45 |
Hans-G?nter@24872 | 46 # Remove man and locale |
Hans-G?nter@24872 | 47 rm -rf $fs/usr/share/man |
Hans-G?nter@24872 | 48 rm -rf $fs/usr/share/locale |
gokhlayeh@5956 | 49 } |