wok view urxvt/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents 7c02b0189105
children 1805f71c5d9f
line source
1 # SliTaz package receipt.
3 PACKAGE="urxvt"
4 VERSION="9.22"
5 CATEGORY="utilities"
6 TAGS="terminal"
7 SHORT_DESC="Terminal with unicode support."
8 MAINTAINER="sygne@ombres.eu"
9 LICENSE="GPL2"
10 WEB_SITE="http://software.schmorp.de/pkg/rxvt-unicode.html"
12 SOURCE="rxvt-unicode"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="http://dist.schmorp.de/$SOURCE/$TARBALL"
16 DEPENDS="expat fontconfig freetype gcc-lib-base xorg-libX11 xorg-libXft \
17 xorg-xmessage zlib"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd src
30 patch --input=$stuff/patches/command.C-9.22
31 patch --input=$stuff/patches/misc.C-9.22
32 cd ..
34 ./configure \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --disable-perl \
38 --with-codesets='eu' \
39 --mandir=/usr/share/man \
40 $CONFIGURE_ARGS &&
41 make &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 }