void-packages/srcpkgs/apk-tools/template
2021-02-08 12:03:23 +01:00

20 lines
679 B
Bash

# Template file for 'apk-tools'
pkgname=apk-tools
version=2.12.3
revision=1
build_style=gnu-makefile
# Link libapk statically
make_build_args="LUAAPK=no LDFLAGS_apk.static= static"
hostmakedepends="pkg-config lua53 lua53-zlib"
makedepends="libressl-devel zlib-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=da0b3a3df2c5973bede830e8be73442443221a23afdac62f45b1e74c3ee30f0e
CFLAGS="-Wno-error"
do_install() {
vbin src/apk.static apk
}