void-packages/srcpkgs/dpkg/template

27 lines
769 B
Bash

# Template file for 'dpkg'
pkgname=dpkg
version=1.18.5
revision=1
build_style=gnu-configure
configure_args="--disable-start-stop-daemon --with-zlib --with-bz2 --with-liblzma"
hostmakedepends="pkg-config perl"
makedepends="zlib-devel bzip2-devel liblzma-devel ncurses-devel"
depends="perl"
short_desc="The Debian Package Manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://packages.debian.org/dpkg"
distfiles="${DEBIAN_SITE}/main/d/dpkg/dpkg_${version}.tar.xz"
checksum=074e6a66a1e7a4b14ec3aa1d198be565acff3e067595fd42bb4dec4d14468b07
dpkg-devel_package() {
short_desc+=" - development files"
depends="${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}