mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/cproto: new aport
https://invisible-island.net/cproto/ Generate C function prototypes from C source code
This commit is contained in:
parent
50fce7eee1
commit
d11d28f20a
36
testing/cproto/APKBUILD
Normal file
36
testing/cproto/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=cproto
|
||||
pkgver=4.7x
|
||||
pkgrel=0
|
||||
pkgdesc="Generate C function prototypes from C source code"
|
||||
url="https://invisible-island.net/cproto/"
|
||||
arch="all"
|
||||
license="Public-Domain"
|
||||
makedepends="bison flex"
|
||||
checkdepends="diffutils"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://invisible-mirror.net/archives/cproto/cproto-$pkgver.tgz"
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
d896a46d01c09aae743fec8d3db2823377c3155f6080a7478df9f452805bbd5c7d0f77b9487006a4cab547c5638741e5780db0d8d0403f411b946ea032a5132e cproto-4.7x.tgz
|
||||
"
|
Loading…
Reference in New Issue
Block a user