void-packages/srcpkgs/pcc-libs/template

22 lines
639 B
Bash

# Template file for 'pcc-libs'
pkgname=pcc-libs
_snapshot=20190420
_distver=1.1.0
version=${_distver}.${_snapshot}
revision=1
wrksrc=${pkgname}-${_distver}.BETA
build_style=gnu-configure
hostmakedepends="flex"
short_desc="Portable C Compiler - Support Libraries"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-clause"
homepage="http://pcc.ludd.ltu.se/"
distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/${pkgname}-${_distver}.BETA-${_snapshot}.tgz"
checksum=e810aa4d6683e769f490f734b13a296b33c2511ddba646bc526eb85532f1a23a
nodebug=1
nocross=1
post_install() {
sed -n '2,25p' libpcc/cxmuldiv.c > LICENSE
vlicense LICENSE
}