wok annotate mrxvt/receipt @ rev 25624

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