wok view mrxvt/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 69e1e705f038
children
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/project/materm/mrxvt%20source/$VERSION/$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|.*a href="|"https://sourceforge.net|;s| .*||;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 }