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