void-packages/srcpkgs/dpkg/template

31 lines
941 B
Bash

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