wok annotate vte/receipt @ rev 24905

updated metasploit (5.0.91 -> 6.1.36)
author Hans-G?nter Theisgen
date Sat Apr 09 13:21:57 2022 +0100 (2022-04-09)
parents 86790a278e70
children
rev   line source
pankso@189 1 # SliTaz package receipt.
pankso@189 2
pankso@189 3 PACKAGE="vte"
pankso@15749 4 VERSION="0.28.2" # Also --> python-vte
pankso@211 5 CATEGORY="utilities"
pascal@228 6 SHORT_DESC="Terminal capabilities for GTK+ widgets."
pankso@189 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@7234 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.gnome.org/"
slaxemulator@10244 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16249 12 HOST_ARCH="i486 arm"
pankso@189 13
slaxemulator@11144 14 DEPENDS="gtk+ ncurses xorg-libXdamage"
pascal@16253 15 BUILD_DEPENDS="gtk+-dev ncurses-dev"
pankso@16249 16
pankso@16249 17 # Handle cross compilation.
pankso@16249 18 case "$ARCH" in
pankso@16249 19 i?86)
pankso@16249 20 BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev
pascal@16253 21 perl perl-xml-parser ncurses-dev"
pankso@16249 22 ARCH_ARGS="--enable-introspection=yes" ;;
pankso@16249 23 arm)
pankso@16249 24 ARCH_ARGS="--enable-introspection=no" ;;
pankso@16249 25 esac
slaxemulator@11144 26
pascal@24072 27 current_version()
pascal@24072 28 {
pascal@24072 29 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
pascal@24072 30 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24072 31 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
pascal@24072 32 }
pascal@24072 33
pankso@189 34 # Rules to configure and make the package.
pankso@189 35 compile_rules()
pankso@189 36 {
psychomaniak@18795 37 patch -p1 -i $stuff/AltKey.patch
pankso@189 38 ./configure \
pankso@189 39 --libexecdir=/usr/lib/vte \
pankso@189 40 --with-html-dir=/usr/share/doc \
pankso@189 41 --with-pcre \
slaxemulator@7687 42 --disable-static \
pascal@2438 43 $CONFIGURE_ARGS &&
slaxemulator@10244 44 make && make install
al@17174 45 # add 'Home' and 'End' keys
psychomaniak@18241 46 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
pankso@189 47 }
pankso@189 48
pankso@189 49 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@189 50 genpkg_rules()
pankso@189 51 {
pankso@642 52 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12249 53 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12249 54 cp -a $install/usr/lib/vte $fs/usr/lib
pankso@12249 55 cp -a $install/usr/share/vte $fs/usr/share
pankso@189 56 }