wok-current annotate vte/receipt @ rev 24053
Up slitaz-boot-script (471)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 27 13:42:59 2021 +0000 (2021-05-27) |
parents | 4464f66eb0d2 |
children | 5d79829fa876 |
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 |
pankso@189 | 27 # Rules to configure and make the package. |
pankso@189 | 28 compile_rules() |
pankso@189 | 29 { |
psychomaniak@18795 | 30 patch -p1 -i $stuff/AltKey.patch |
pankso@189 | 31 ./configure \ |
pankso@189 | 32 --libexecdir=/usr/lib/vte \ |
pankso@189 | 33 --with-html-dir=/usr/share/doc \ |
pankso@189 | 34 --with-pcre \ |
slaxemulator@7687 | 35 --disable-static \ |
pascal@2438 | 36 $CONFIGURE_ARGS && |
slaxemulator@10244 | 37 make && make install |
al@17174 | 38 # add 'Home' and 'End' keys |
psychomaniak@18241 | 39 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm |
pankso@189 | 40 } |
pankso@189 | 41 |
pankso@189 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@189 | 43 genpkg_rules() |
pankso@189 | 44 { |
pankso@642 | 45 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12249 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12249 | 47 cp -a $install/usr/lib/vte $fs/usr/lib |
pankso@12249 | 48 cp -a $install/usr/share/vte $fs/usr/share |
pankso@189 | 49 } |