void-packages/srcpkgs/apt/template

39 lines
1.1 KiB
Bash
Raw Normal View History

2018-11-01 21:13:28 +00:00
# Template file for 'apt'
pkgname=apt
2019-05-30 13:39:03 +00:00
version=1.8.2
2018-11-01 21:13:28 +00:00
revision=1
build_style=cmake
configure_args="-DDPKG_DATADIR=/usr/share/dpkg -DCURRENT_VENDOR=debian
-DDOCBOOK_XSL=/usr/share/xsl/docbook"
hostmakedepends="pkg-config docbook-xsl doxygen po4a w3m libxslt"
makedepends="db-devel gnutls-devel bzip2-devel liblzma-devel liblz4-devel
libzstd-devel libseccomp-devel eudev-libudev-devel dpkg-devel"
short_desc="APT package management tools"
maintainer="Elie ROUDNINSKI <xademax@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://salsa.debian.org/apt-team/apt"
2019-05-16 19:10:59 +00:00
distfiles="https://github.com/Debian/apt/archive/${version}.tar.gz"
2019-05-30 13:39:03 +00:00
checksum=6ff2ede3ffc707ae51c80e5026199816ce7baab038e55aa96aa7eabe0e910bb6
2018-11-01 21:13:28 +00:00
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="error: void value not ignored as it ought to be" ;;
esac
apt-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}
apt-doc_package() {
archs=noarch
short_desc+=" - documentation files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}