xplugd: update to 1.4.
This commit is contained in:
parent
d4624862aa
commit
0fddb4ba88
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xplugd'
|
||||
pkgname=xplugd
|
||||
version=1.3
|
||||
version=1.4
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake pkg-config"
|
||||
|
@ -10,23 +10,9 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
|
|||
license="MIT"
|
||||
homepage="https://github.com/troglobit/xplugd"
|
||||
distfiles="https://github.com/troglobit/xplugd/archive/v${version}.tar.gz"
|
||||
checksum=540345853aa02f7a6e2d39f3437cedcaa1367a9e3c318a4b4ba640a859aebc52
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends+=" libglob-devel";;
|
||||
esac
|
||||
checksum=7f84aeacd1fa0d317555e836d460e8f8a529fe57f308e831d426381b8e944e34
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed -e '/include/s,glob.h,libglob/glob.h,g' \
|
||||
-e '/GLOB_TILDE/s/glob(/g_glob(/g' \
|
||||
-e 's/globfree(/g_globfree(/g' \
|
||||
-i xplugd.c
|
||||
export LIBS="$XBPS_CROSS_BASE/usr/lib/libglob.a"
|
||||
;;
|
||||
esac
|
||||
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue