2016-03-18 15:21:13 +01:00
|
|
|
# Template file for 'apk-tools'
|
|
|
|
pkgname=apk-tools
|
2017-06-24 15:48:38 +02:00
|
|
|
version=2.7.2
|
2017-04-14 19:39:18 +02:00
|
|
|
revision=1
|
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)"
|
2017-04-30 22:01:21 +02:00
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
2016-03-18 15:21:13 +01:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://git.alpinelinux.org/cgit/apk-tools"
|
|
|
|
distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2"
|
2017-06-24 15:48:38 +02:00
|
|
|
checksum=7e6b8ccd1c4573b90dd835f19836f2514a10ec7d83923a1585f44100fa122592
|
2016-03-18 15:21:13 +01:00
|
|
|
CFLAGS=-Wno-error
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
sed -i 's,/usr/lib/libfetch.a,-lfetch,g' src/Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin src/apk
|
|
|
|
}
|