xplugd: update to 1.3.
This commit is contained in:
parent
8288678e71
commit
a1d76600cc
@ -1,6 +1,6 @@
|
||||
# Template file for 'xplugd'
|
||||
pkgname=xplugd
|
||||
version=1.2
|
||||
version=1.3
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake pkg-config"
|
||||
@ -10,9 +10,23 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/troglobit/xplugd"
|
||||
distfiles="https://github.com/troglobit/xplugd/archive/v${version}.tar.gz"
|
||||
checksum=d199626c4882ef73d0f1dce55dac07aaf7bb72e591e8150d223f9e025534678e
|
||||
checksum=540345853aa02f7a6e2d39f3437cedcaa1367a9e3c318a4b4ba640a859aebc52
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends+=" libglob-devel";;
|
||||
esac
|
||||
|
||||
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…
x
Reference in New Issue
Block a user