wok-next annotate urxvt/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 3d5fe73ca04f |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@20333 | 1 # SliTaz package receipt v2. |
sygne@1982 | 2 |
sygne@1982 | 3 PACKAGE="urxvt" |
al@19677 | 4 VERSION="9.22" |
sygne@1982 | 5 CATEGORY="utilities" |
al@20333 | 6 SHORT_DESC="Terminal emulator with Unicode support for X11" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
sygne@1982 | 9 WEB_SITE="http://software.schmorp.de/pkg/rxvt-unicode.html" |
al@20333 | 10 |
al@20333 | 11 TARBALL="rxvt-unicode-$VERSION.tar.bz2" |
sygne@1982 | 12 WGET_URL="http://dist.schmorp.de/rxvt-unicode/$TARBALL" |
sygne@1982 | 13 |
al@20333 | 14 BUILD_DEPENDS="xorg-libX11-dev xorg-libICE-dev gdk-pixbuf-dev \ |
al@20333 | 15 startup-notification-dev xorg-libXmu-dev xorg-libXft-dev perl-dev ncurses-extra" |
al@21020 | 16 SPLIT="$PACKAGE-full:full" |
pascal@15000 | 17 |
al@20333 | 18 compile_rules() { |
al@20339 | 19 case $SET in |
al@20339 | 20 '') |
al@20339 | 21 ./configure \ |
al@20339 | 22 --disable-everything \ |
al@20339 | 23 $CONFIGURE_ARGS && |
al@21020 | 24 make && |
al@21020 | 25 make install |
al@20339 | 26 ;; |
al@20339 | 27 full) |
al@20339 | 28 ./configure \ |
al@20339 | 29 --enable-everything \ |
al@20339 | 30 --enable-256-color \ |
al@20339 | 31 --with-terminfo=/usr/share/terminfo \ |
al@20339 | 32 $CONFIGURE_ARGS && |
al@21020 | 33 make && |
al@21020 | 34 make install || return 1 |
al@20333 | 35 |
al@20339 | 36 R="$install/usr/share/terminfo" |
al@20339 | 37 mkdir -p $R |
al@20339 | 38 tic -s -o $R $src/doc/etc/rxvt-unicode.terminfo |
al@20339 | 39 ;; |
al@20339 | 40 esac |
sygne@1982 | 41 } |
sygne@1982 | 42 |
al@20333 | 43 genpkg_rules() { |
al@20333 | 44 case $PACKAGE in |
al@20333 | 45 urxvt) |
al@20333 | 46 copy @std |
al@20333 | 47 DEPENDS="xorg-libX11" |
al@20333 | 48 ;; |
al@20333 | 49 urxvt-full) |
al@20339 | 50 copy @std |
al@20333 | 51 CAT="utilities|everything enabled" |
al@20333 | 52 DEPENDS="fontconfig freetype gdk-pixbuf glib perl perl-core \ |
al@20333 | 53 startup-notification xorg-libX11 xorg-libXft xorg-libXmu \ |
al@20333 | 54 xorg-libXrender xorg-libXt" |
al@20333 | 55 PROVIDE="urxvt" |
al@20333 | 56 ;; |
al@20333 | 57 esac |
al@20333 | 58 TAGS="terminal" |
sygne@1982 | 59 } |