Mike Gilbert avatar Mike Gilbert committed 9a3d0b0

Add libudev package.

Comments (0)

Files changed (2)

dev-libs/libudev/Manifest

+DIST udev-182.tar.xz 689232 SHA256 adb8892f3b8e4b7163703ed4a545774721a3d55a1062de001f08c477c03d97ab SHA512 2420ff16a596ca4dc2ad6c9e0142fcd62e49102cbe1a1cbef8599ea04f3cfe0f26df7f548a9734fd6e5dc5aa126846793acea7dfcf3021604f4e40a47b1f8aa9 WHIRLPOOL d8b6040a969c6c5c4c62e8d020a27da06d2a4a04cfc3ba1de5ad3770b530765f96c95a2a5bdca5811d71e0cf088c2dc1137e91d404e398f9fc208e555ccc4e25

dev-libs/libudev/libudev-182.ebuild

+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils libtool multilib
+
+DESCRIPTION="libudev compatibility library for old binaries"
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/"
+MY_P="udev-${PV}"
+SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Unconditional pkg-config checks
+DEPEND=">=sys-apps/kmod-5
+	>=sys-apps/util-linux-2.20"
+
+# Other providers of libudev.so.0
+RDEPEND="!<sys-fs/eudev-1_beta
+	!<sys-fs/udev-183"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	elibtoolize
+}
+
+src_configure() {
+	local myeconfargs=(
+		--with-rootprefix=
+		--with-rootlibdir="/$(get_libdir)"
+		--libexecdir=/lib
+		--disable-static
+		--disable-manpages
+		--disable-gudev
+		--disable-introspection
+		--disable-keymap
+		--disable-mtd_probe
+		--without-selinux
+		--with-pci-ids-path=/usr/share/misc/pci.ids
+		--with-usb-ids-path=/usr/share/misc/usb.ids
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake libudev.la
+}
+
+src_install() {
+	emake DESTDIR="${D}" install-libLTLIBRARIES
+	rm "${ED}usr/$(get_libdir)"/libudev.{la,so} || die
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.