void-packages/srcpkgs/apk-tools/template
2017-04-30 22:01:21 +02:00

23 lines
677 B
Bash

# Template file for 'apk-tools'
pkgname=apk-tools
version=2.7.1
revision=1
build_style=gnu-makefile
make_build_args="LUAAPK="
hostmakedepends="pkg-config"
makedepends="libressl-devel zlib-devel libfetch-devel"
short_desc="Alpine Package Keeper (Alpine package manager)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://git.alpinelinux.org/cgit/apk-tools"
distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2"
checksum=5abac5f1f19d64ce7201e66fcd86b430240895d3002323a4a11ad17c6f4b44e7
CFLAGS=-Wno-error
post_extract() {
sed -i 's,/usr/lib/libfetch.a,-lfetch,g' src/Makefile
}
do_install() {
vbin src/apk
}