mdevd: update to 0.1.2.0, remove noarch.

Update for nsss headers location.
This commit is contained in:
Érico Rolim 2020-09-30 00:11:05 -03:00 committed by Érico Nogueira Rolim
parent f01fa3c701
commit 8e9c75b3ef

View file

@ -1,6 +1,6 @@
# Template file for 'mdevd' # Template file for 'mdevd'
pkgname=mdevd pkgname=mdevd
version=0.1.1.2 version=0.1.2.0
revision=1 revision=1
build_style=configure build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
@ -13,10 +13,13 @@ license="ISC"
homepage="https://skarnet.org/software/mdevd/" homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html" changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz" distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=c926b6f9f9f48a73733397f08b6c299a8a2f0eff3d729de7f9d0a763757dab2a checksum=952af443bc61b3694432f7799ba8182824083726872f47f45467c1a5b24796c1
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;; *-musl)
makedepends+=" nsss-devel"
configure_args+=" --enable-nsss --with-include=${XBPS_CROSS_BASE}/usr/include/nsss"
;;
esac esac
post_install() { post_install() {
@ -26,7 +29,6 @@ post_install() {
} }
mdevd-doc_package() { mdevd-doc_package() {
archs=noarch
short_desc+=" - documentation" short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {