From 13984f725db156cbc952d0afe90f27da15a0b85d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 18 Feb 2020 12:56:22 -0500 Subject: Initial commit --- libxml2/build.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libxml2/build.sh (limited to 'libxml2') diff --git a/libxml2/build.sh b/libxml2/build.sh new file mode 100644 index 0000000..8bd6ca6 --- /dev/null +++ b/libxml2/build.sh @@ -0,0 +1,30 @@ +#!/bin/bash +name=libxml2 +version=2.9.9 +revision=0 +sources=( + "https://github.com/GNOME/${name}/archive/v${version}.tar.gz" +) +build_depends=( + "automake" + "autoconf" + "libtool" +) +depends=( + "icu" +) + +function prepare() { + tar xf v${version}.tar.gz + cd ${name}-${version} +} + +function build() { + sh autogen.sh + ./configure --prefix="${_prefix}" + make -j${_maxjobs} +} + +function package() { + make install DESTDIR="${_pkgdir}" +} -- cgit