void-packages/srcpkgs/dpkg/template
2019-03-26 18:59:24 -03:00

28 lines
816 B
Bash

# Template file for 'dpkg'
pkgname=dpkg
version=1.19.6
revision=1
build_style=gnu-configure
configure_args="--disable-start-stop-daemon --with-libz --with-libbz2
--with-liblzma"
hostmakedepends="pkg-config perl"
makedepends="zlib-devel bzip2-devel liblzma-devel ncurses-devel"
depends="perl"
checkdepends="gnupg perl-Test-Pod"
short_desc="Debian Package Manager"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://packages.debian.org/dpkg"
distfiles="${DEBIAN_SITE}/main/d/dpkg/dpkg_${version}.tar.xz"
checksum=4eb1a12d1f5bd55478d2eab530dd188733e425f301e3b8c030f645f48ef43768
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
}
}