vp-build/srcpkgs/apk-tools/template

24 lines
691 B
Bash

# Template file for 'apk-tools'
pkgname=apk-tools
version=2.6.8
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=def2b2c23cd12fd2a9c19be49653b0d1bf9d81a26dac5a0ee79a1351d674f93b
CFLAGS=-Wno-error
post_extract() {
sed -i 's,/usr/lib/libfetch.a,-lfetch,g' src/Makefile
}
do_install() {
vbin src/apk
}