wok-current annotate urxvt/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 934055de50e2
children
rev   line source
sygne@1982 1 # SliTaz package receipt.
sygne@1982 2
sygne@1982 3 PACKAGE="urxvt"
Hans-G?nter@22084 4 VERSION="9.22"
sygne@1982 5 CATEGORY="utilities"
Hans-G?nter@22084 6 TAGS="terminal"
Hans-G?nter@22084 7 SHORT_DESC="Terminal with unicode support."
sygne@1982 8 MAINTAINER="sygne@ombres.eu"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@22084 10 WEB_SITE="http://software.schmorp.de/pkg/rxvt-unicode.html"
Hans-G?nter@22084 11
sygne@1982 12 SOURCE="rxvt-unicode"
sygne@1982 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@24976 14 WGET_URL="https://ftp.osuosl.org/pub/blfs/conglomeration/$SOURCE/$TARBALL"
sygne@1982 15
Hans-G?nter@22084 16 DEPENDS="expat fontconfig freetype gcc-lib-base xorg-libX11 xorg-libXft \
Hans-G?nter@22084 17 xorg-xmessage zlib"
pascal@15000 18
pascal@24462 19 # What is the latest version available today?
pascal@24462 20 current_version()
pascal@24462 21 {
pascal@24462 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24462 24 }
pascal@24462 25
sygne@1982 26 # Rules to configure and make the package.
sygne@1982 27 compile_rules()
sygne@1982 28 {
Hans-G?nter@22084 29 cd src
Hans-G?nter@22084 30 patch --input=$stuff/patches/command.C-9.22
Hans-G?nter@22084 31 patch --input=$stuff/patches/misc.C-9.22
Hans-G?nter@22084 32 cd ..
Hans-G?nter@22084 33
Hans-G?nter@22084 34 ./configure \
Hans-G?nter@22084 35 --prefix=/usr \
Hans-G?nter@22084 36 --infodir=/usr/share/info \
Hans-G?nter@22084 37 --disable-perl \
Hans-G?nter@22084 38 --with-codesets='eu' \
Hans-G?nter@22084 39 --mandir=/usr/share/man \
Hans-G?nter@22084 40 $CONFIGURE_ARGS &&
Hans-G?nter@22084 41 make &&
Hans-G?nter@22084 42 make DESTDIR=$DESTDIR install
sygne@1982 43 }
sygne@1982 44
sygne@1982 45 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@1982 46 genpkg_rules()
sygne@1982 47 {
sygne@1982 48 mkdir -p $fs/usr
pascal@15000 49 cp -a $install/usr/bin $fs/usr
sygne@1982 50 }