void-packages/srcpkgs/argp-standalone/template
Érico Rolim d69e0c9710 argp-standalone: update to 1.4.1.
Revbumping most dependants after this will be necessary, because there
is a very visible bug where "<program> --usage" or "<program> --help"
segfaults for some applications.

Forking and switching upstream has been done because the project isn't
active and no one has forked it themselves yet, at least that I could
find.
2021-02-16 02:32:52 -03:00

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
}