diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
commit | 13984f725db156cbc952d0afe90f27da15a0b85d (patch) | |
tree | b3a39b75ecaecca11ee1525a99153a7606e460cb /glib | |
download | spm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz |
Initial commit
Diffstat (limited to 'glib')
-rw-r--r-- | glib/build.sh | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/glib/build.sh b/glib/build.sh new file mode 100644 index 0000000..0fd9075 --- /dev/null +++ b/glib/build.sh @@ -0,0 +1,34 @@ +#!/bin/bash +name=glib +version=2.63.1 +revision=0 +sources=( + "https://download.gnome.org/sources/${name}/2.63/${name}-${version}.tar.xz" +) +build_depends=( + "automake" + "autoconf" + "gettext" + "xz" +) +depends=( + "cmake" + "gettext" + "python-pip" +) + +function prepare() { + tar xf ${name}-${version}.tar.xz + cd ${name}-${version} +} + +function build() { + pip install meson + meson --prefix="${_prefix}" _build + ninja -C _build + make -j${_maxjobs} +} + +function package() { + DESTDIR="${destroot}" ninja -C _build install +} |