void-packages/srcpkgs/argp-standalone/template

22 lines
726 B
Bash

# Template file for 'argp-standalone'
pkgname=argp-standalone
version=1.3
revision=2
build_style=gnu-configure
short_desc="Implementation of ARGP"
maintainer="John Regan <john@jrjrtech.com>"
homepage="https://www.freshports.org/devel/argp-standalone/"
license="Public Domain"
distfiles="http://www.lysator.liu.se/~nisse/misc/argp-standalone-${version}.tar.gz"
checksum=dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be
only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl ppc-musl ppc64le-musl ppc64-musl"
CFLAGS="-fPIC"
do_install() {
vinstall ${wrksrc}/libargp.a 644 usr/lib
vinstall ${wrksrc}/argp.h 644 usr/include
}