|
root / devel / pkgconf
pkgconf Plain Text 45 lines 1.1 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# Build script for pkgconf

set -e
cd "$SRCDIR"

./configure \
    --prefix=$PREFIX \
    --with-pkg-config-dir=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig \
    --with-system-libdir=$PREFIX/lib \
    --with-system-includedir=$PREFIX/include

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"

# Create pkg-config symlink for compatibility
ln -sf pkgconf "$PKGDIR$PREFIX/bin/pkg-config"
# pkgconf - Package compiler and linker metadata toolkit
# https://github.com/pkgconf/pkgconf

[package]
name = "pkgconf"
version = "2.3.0"
release = 1
description = "Package compiler and linker metadata toolkit"
url = "https://github.com/pkgconf/pkgconf"
license = "ISC"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "pkgconf-2.3.0.tar.xz"
urls = [
    "https://distfiles.ariadne.space/pkgconf/pkgconf-2.3.0.tar.xz",
    "https://github.com/pkgconf/pkgconf/releases/download/pkgconf-2.3.0/pkgconf-2.3.0.tar.xz"
]
checksum = "3a9080ac51d03615e7c1910a0a2a8df08424892b5f13b0628a204d3fcce0ea8b"

[build]
parallel = true