wok-next annotate xmlstarlet/receipt @ rev 20904

libgdata: update bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 30 23:44:42 2018 +0300 (2018-07-30)
parents f463de72afe3
children d5aab818505e
rev   line source
al@20443 1 # SliTaz package receipt v2.
al@19299 2
al@19299 3 PACKAGE="xmlstarlet"
al@19299 4 VERSION="1.6.1"
al@19299 5 CATEGORY="development"
al@19299 6 SHORT_DESC="Command Line XML Toolkit"
al@19299 7 MAINTAINER="al.bobylev@gmail.com"
al@19299 8 LICENSE="MIT"
al@19299 9 WEB_SITE="http://xmlstar.sourceforge.net/"
al@20443 10
al@19299 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19299 12 WGET_URL="$SF_MIRROR/xmlstar/$TARBALL"
al@19299 13
al@19299 14 BUILD_DEPENDS="libxslt-dev"
al@19299 15
al@20443 16 compile_rules() {
al@20443 17 ./configure \
al@20443 18 --with-libxml-include-prefix=/usr/include/libxml2/ \
al@20443 19 $CONFIGURE_ARGS &&
al@20443 20 make && make install || return 1
al@19299 21
al@19299 22 mv $install/usr/bin/xml $install/usr/bin/xmlstarlet
al@19299 23 }
al@19299 24
al@20443 25 genpkg_rules() {
al@19783 26 copy xmlstarlet
al@20443 27 DEPENDS="libxml2 libxslt zlib"
al@19299 28 }