30 lines
756 B
Bash
30 lines
756 B
Bash
# Template build file for 'minizip'.
|
|
pkgname=minizip
|
|
version=1.2.11
|
|
revision=1
|
|
build_style=gnu-configure
|
|
wrksrc="zlib-${version}/contrib/${pkgname}"
|
|
hostmakedepends="automake libtool"
|
|
makedepends="zlib-devel"
|
|
short_desc="A C library for parsing configuration files"
|
|
maintainer="ojab <ojab@ojab.ru>"
|
|
license="zlib"
|
|
homepage="http://www.winimage.com/zLibDll/minizip.html"
|
|
distfiles="http://www.zlib.net/zlib-$version.tar.gz"
|
|
checksum=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
|
|
|
pre_configure() {
|
|
autoreconf -i
|
|
}
|
|
|
|
minizip-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|