void-packages/srcpkgs/libudev/template

43 lines
1.7 KiB
Text
Raw Normal View History

# Template file for 'libudev'
pkgname=libudev
2013-04-08 23:52:33 +00:00
version=201
revision=2
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
--disable-myhostname --disable-gudev --disable-keymap --without-python
--disable-efi --disable-polkit --with-sysvinit-path= --with-sysvrcnd-path="
hostmakedepends="pkg-config intltool gperf libxslt docbook-xsl"
makedepends="dbus-devel libcap-devel liblzma-devel libgcrypt-devel"
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"
distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
2013-04-08 23:52:33 +00:00
checksum=d6299f1a0bc2122002d731808d3825c6b566d1ffe899c03ed5ebec7e70c8cc10
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libtool automake gettext-devel pkg-config intltool
gperf libxslt docbook-xsl libgcrypt-devel"
2013-02-13 08:09:46 +00:00
pre_configure() {
autoreconf -fi
}
fi
post_install() {
# We are only interested in shlibs, headers and pc files.
rm -rf ${DESTDIR}/{etc,var}
rm -rf ${DESTDIR}/usr/{bin,sbin}
rm -rf ${DESTDIR}/usr/lib/{udev,systemd,sysctl.d,tmpfiles.d}
2013-03-08 11:58:01 +00:00
rm -rf ${DESTDIR}/usr/share/{bash*,doc,polkit-1,dbus-1}
}