diff options
Diffstat (limited to 'libexpat')
| -rw-r--r-- | libexpat/build.sh | 32 |
1 files changed, 32 insertions, 0 deletions
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}" +} + + |
