wok-current view urxvt/receipt @ rev 25450
BootProg: avoid divide errors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 14 18:33:54 2022 +0000 (2022-09-14) |
parents | 934055de50e2 |
children |
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="https://ftp.osuosl.org/pub/blfs/conglomeration/$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 }