# SliTaz package receipt. PACKAGE="vte" VERSION="0.28.2" CATEGORY="utilities" SHORT_DESC="Terminal capabilities for GTK+ widgets." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnome.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" LOCALE="" DEPENDS="gtk+ ncurses xorg-libXdamage" BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \ intltool ncurses-dev gobject-introspection-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --libexecdir=/usr/lib/vte \ --with-html-dir=/usr/share/doc \ --with-pcre \ --disable-static \ --enable-introspection \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') mkdir -p $fs/usr/lib $fs/usr/share cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib cp -a $install/usr/lib/vte $fs/usr/lib cp -a $install/usr/share/vte $fs/usr/share # --> python-vte rm -rf $fs/usr/lib/python* rm -rf $fs/usr/share/pygtk cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib cp -a $install/usr/share/pygtk $fs/usr/share }