void-packages/srcpkgs/argp-standalone/template

25 lines
644 B
Bash

# Template file for 'argp-standalone'
pkgname=argp-standalone
version=1.4.1
revision=1
archs="*-musl"
build_style=gnu-configure
hostmakedepends="autoconf automake"
short_desc="Implementation of ARGP"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/ericonr/argp-standalone"
distfiles="https://github.com/ericonr/argp-standalone/archive/${version}.tar.gz"
checksum=879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b
CFLAGS="-fPIC"
pre_configure() {
autoreconf -fi
}
do_install() {
vinstall ${wrksrc}/libargp.a 644 usr/lib
vinstall ${wrksrc}/argp.h 644 usr/include
}