void-packages/srcpkgs/dpkg/template
2020-07-07 18:10:54 +02:00

29 lines
846 B
Bash

# Template file for 'dpkg'
pkgname=dpkg
version=1.20.3
revision=1
build_style=gnu-configure
configure_args="--disable-start-stop-daemon --with-libz --with-libbz2
--with-liblzma"
hostmakedepends="pkg-config perl tar"
makedepends="zlib-devel bzip2-devel liblzma-devel ncurses-devel"
depends="perl"
checkdepends="gnupg perl-Test-Pod"
short_desc="Debian Package Manager"
maintainer="Orphaned <orphan@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=3c8345b001469de8ede3788640945d32b84026a04872b9ab2577853ca984f91e
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
vmove usr/share/aclocal
}
}