30 lines
756 B
Bash
30 lines
756 B
Bash
# Template build file for 'minizip'.
|
|
pkgname=minizip
|
|
version=1.2.10
|
|
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=8d7e9f698ce48787b6e1c67e6bff79e487303e66077e25cb9784ac8835978017
|
|
|
|
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"
|
|
}
|
|
}
|