29 lines
783 B
Bash
29 lines
783 B
Bash
# Template file for 'apk-tools'
|
|
pkgname=apk-tools
|
|
version=2.14.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
# Link libapk statically
|
|
make_build_args="LUAAPK=no LDFLAGS_apk.static= static"
|
|
hostmakedepends="pkg-config lua53 lua53-zlib scdoc"
|
|
makedepends="openssl-devel zlib-devel"
|
|
checkdepends="lua53-devel"
|
|
short_desc="Alpine Package Keeper (Alpine package manager)"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://git.alpinelinux.org/cgit/apk-tools"
|
|
distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2"
|
|
checksum=6ffa7b196d03b58df0a42e9072ea5fdd01b90d75d031cc9dca6d00e43c0db64c
|
|
CFLAGS="-Wno-error"
|
|
|
|
post_build() {
|
|
make docs
|
|
}
|
|
|
|
do_install() {
|
|
vbin src/apk.static apk
|
|
for f in doc/*.[58]; do
|
|
vman "$f"
|
|
done
|
|
}
|