wok annotate urxvt-full/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (6 weeks ago)
parents 934055de50e2
children
rev   line source
sygne@1983 1 # SliTaz package receipt.
sygne@1983 2
sygne@1983 3 PACKAGE="urxvt-full"
Hans-G?nter@22084 4 VERSION="9.22"
sygne@1983 5 CATEGORY="utilities"
Hans-G?nter@22084 6 TAGS="terminal"
Hans-G?nter@22084 7 SHORT_DESC="Terminal emulator with Unicode support for X11."
al@13681 8 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@22084 10 WEB_SITE="http://software.schmorp.de/pkg/rxvt-unicode.html"
al@13681 11
sygne@1983 12 SOURCE="rxvt-unicode"
sygne@1983 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@24976 14 WGET_URL="https://ftp.osuosl.org/pub/blfs/conglomeration/$SOURCE/$TARBALL"
al@13681 15
pascal@2438 16 PROVIDE="urxvt"
Hans-G?nter@22084 17 DEPENDS="bzlib expat fontconfig freetype gcc-lib-base gdk-pixbuf glib \
Hans-G?nter@22084 18 glibc-base libffi libgio libpng libxcb startup-notification xcb-util \
Hans-G?nter@22084 19 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXft xorg-libXrender zlib"
Hans-G?nter@22084 20 BUILD_DEPENDS="freetype-dev gdk-pixbuf-dev ncursesw-extra
Hans-G?nter@22084 21 startup-notification-dev xorg-libX11-dev xorg-libXft-dev"
sygne@1983 22
pascal@24462 23 # What is the latest version available today?
pascal@24462 24 current_version()
pascal@24462 25 {
pascal@24462 26 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 27 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24462 28 }
pascal@24462 29
sygne@1983 30 # Rules to configure and make the package.
sygne@1983 31 compile_rules()
sygne@1983 32 {
Hans-G?nter@22084 33 ./configure \
Hans-G?nter@22084 34 --enable-everything \
Hans-G?nter@22084 35 --enable-256-color \
Hans-G?nter@22084 36 --with-terminfo=/usr/share/terminfo \
al@19082 37 $CONFIGURE_ARGS &&
Hans-G?nter@22084 38 make &&
Hans-G?nter@22084 39 make install
al@19082 40
Hans-G?nter@22084 41 R="$install/usr/share/terminfo"
Hans-G?nter@22084 42 mkdir -p $R
al@13681 43 tic -s -o $R $src/doc/etc/rxvt-unicode.terminfo
sygne@1983 44 }
sygne@1983 45
sygne@1983 46 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@1983 47 genpkg_rules()
sygne@1983 48 {
Hans-G?nter@22084 49 cp -a $install/* $fs
Hans-G?nter@22084 50 rm -rf $fs/usr/share/man
sygne@1983 51 }