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