2016-03-18 15:21:13 +01:00
|
|
|
# Template file for 'apk-tools'
|
|
|
|
pkgname=apk-tools
|
|
|
|
version=2.6.6
|
2016-03-25 22:34:48 +01:00
|
|
|
revision=2
|
2016-03-18 15:21:13 +01:00
|
|
|
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=7e5e86c856ce236c7fd54605ee0b1dbf59920398d3b33f9f6ff0e5f98e6828af
|
|
|
|
CFLAGS=-Wno-error
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
sed -i 's,/usr/lib/libfetch.a,-lfetch,g' src/Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin src/apk
|
|
|
|
}
|