2013-02-12 18:31:38 +01:00
|
|
|
# Template file for 'libudev'
|
|
|
|
pkgname=libudev
|
2013-03-29 11:27:49 +01:00
|
|
|
version=200
|
2013-03-27 09:38:23 +01:00
|
|
|
revision=1
|
2013-02-12 18:31:38 +01:00
|
|
|
wrksrc="systemd-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--libexecdir=/usr/lib --disable-selinux
|
|
|
|
--disable-static --disable-ima --enable-introspection=no
|
|
|
|
--disable-kmod --disable-blkid --disable-chkconfig
|
|
|
|
--disable-selinux --disable-tcpwrap --disable-pam
|
|
|
|
--disable-acl --disable-xattr --disable-audit
|
|
|
|
--disable-libcryptsetup --disable-qrencode --disable-microhttpd
|
|
|
|
--disable-binfmt --disable-vconsole --disable-readahead --disable-bootchart
|
|
|
|
--disable-quotacheck --disable-randomseed --disable-hostnamed
|
|
|
|
--disable-timedated --disable-localed --disable-coredump
|
2013-03-27 09:38:23 +01:00
|
|
|
--disable-myhostname --disable-gudev --disable-keymap --without-python
|
|
|
|
--disable-efi --disable-polkit --with-sysvinit-path= --with-sysvrcnd-path="
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config intltool gperf libxslt docbook-xsl"
|
|
|
|
makedepends="dbus-devel libcap-devel liblzma-devel libgcrypt-devel"
|
2013-02-12 18:31:38 +01:00
|
|
|
subpackages="libudev-devel systemd-libs systemd-devel"
|
|
|
|
short_desc="udev shared library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
|
|
|
license="LGPL-2.1, GPL-2, MIT"
|
2013-03-24 10:21:58 +01:00
|
|
|
distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
|
2013-03-29 11:27:49 +01:00
|
|
|
checksum=9a08baa8fa5c48f0aab683b2f771e4be75c3c852afc45e5cb4df06428ac8c217
|
2013-02-12 18:31:38 +01:00
|
|
|
|
2013-03-24 10:21:58 +01:00
|
|
|
if [ "$XBPS_CROSS_BUILD" ]; then
|
2013-03-27 09:47:31 +01:00
|
|
|
hostmakedepends="libtool automake gettext-devel pkg-config intltool
|
2013-02-26 16:39:53 +01:00
|
|
|
gperf libxslt docbook-xsl libgcrypt-devel"
|
2013-02-13 09:09:46 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2013-02-12 18:31:38 +01:00
|
|
|
post_install() {
|
|
|
|
# We are only interested in shlibs, headers and pc files.
|
|
|
|
rm -rf ${DESTDIR}/{etc,var}
|
|
|
|
rm -rf ${DESTDIR}/usr/{bin,sbin}
|
2013-03-27 09:38:23 +01:00
|
|
|
rm -rf ${DESTDIR}/usr/lib/{udev,systemd,sysctl.d,tmpfiles.d}
|
2013-03-08 12:58:01 +01:00
|
|
|
rm -rf ${DESTDIR}/usr/share/{bash*,doc,polkit-1,dbus-1}
|
2013-02-12 18:31:38 +01:00
|
|
|
}
|