wok view mrxvt/receipt @ rev 24698

Up usbids (2022.02.23)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 17:29:51 2022 +0000 (2022-03-13)
parents 472c73874ee7
children 50e162af45ee
line source
1 # SliTaz package receipt.
3 PACKAGE="mrxvt"
4 VERSION="0.5.4"
5 CATEGORY="utilities"
6 TAGS="terminal"
7 SHORT_DESC="Terminal emulator with multi-tabs support."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://sourceforge.net/projects/materm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/materm/$TARBALL"
15 DEPENDS="expat fontconfig freetype jpeg libpng xorg-libICE \
16 xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
17 xorg-libXft xorg-libXpm xorg-libXrender zlib"
18 BUILD_DEPENDS="freetype-dev jpeg-dev libpng-dev xorg-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - 'https://sourceforge.net/projects/materm/files/mrxvt source/' 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*source/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --enable-xft \
36 --enable-menubar \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 }