libudev: cross build support.
This commit is contained in:
parent
4a72cb300c
commit
4442b3ad03
1 changed files with 9 additions and 0 deletions
|
@ -24,6 +24,15 @@ license="LGPL-2.1, GPL-2, MIT"
|
||||||
distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
|
distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
|
||||||
checksum=e6857ea21ae24d7056e7b0f4c2aaaba73b8bf57025b8949c0a8af0c1bc9774b5
|
checksum=e6857ea21ae24d7056e7b0f4c2aaaba73b8bf57025b8949c0a8af0c1bc9774b5
|
||||||
|
|
||||||
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
makedepends="automake gettext-devel ${makedepends}"
|
||||||
|
crossmakedepends="dbus-devel libcap-devel liblzma-devel libgcrypt-devel"
|
||||||
|
configure_args="${configure_args} PKG_CONFIG_LIBDIR=/usr/$XBPS_CROSS_TRIPLET/lib/pkgconfig"
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# We are only interested in shlibs, headers and pc files.
|
# We are only interested in shlibs, headers and pc files.
|
||||||
rm -rf ${DESTDIR}/{etc,var}
|
rm -rf ${DESTDIR}/{etc,var}
|
||||||
|
|
Loading…
Add table
Reference in a new issue