New package: apt-1.7.2

closes #8910
This commit is contained in:
Elie ROUDNINSKI 2018-11-01 21:13:28 +00:00 committed by maxice8
parent 87ca45b0b9
commit aa761f320a
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
3 changed files with 40 additions and 0 deletions

1
srcpkgs/apt-devel Symbolic link
View File

@ -0,0 +1 @@
apt

1
srcpkgs/apt-doc Symbolic link
View File

@ -0,0 +1 @@
apt

38
srcpkgs/apt/template Normal file
View File

@ -0,0 +1,38 @@
# Template file for 'apt'
pkgname=apt
version=1.7.2
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"
distfiles="https://github.com/Debian/${pkgname}/archive/${version}.tar.gz"
checksum=71284e4d493218826db68bb3900e20bb92e2f65b6a87d359c1cc35cfa1d1c6e5
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
}
}