void-packages/srcpkgs/apk-tools/template
2017-04-14 20:43:16 +02:00

23 lines
691 B
Bash

# Template file for 'apk-tools'
pkgname=apk-tools
version=2.7.0
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="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://git.alpinelinux.org/cgit/apk-tools"
distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2"
checksum=cb48af920e3935bc45779a34b953cc03b6a36f16293786be6abdd79ae24a01e8
CFLAGS=-Wno-error
post_extract() {
sed -i 's,/usr/lib/libfetch.a,-lfetch,g' src/Makefile
}
do_install() {
vbin src/apk
}