New package: eudev-1.3.

This commit is contained in:
Juan RP 2014-01-14 21:20:46 +01:00
parent 53285bfd24
commit 9c57828b0f
5 changed files with 94 additions and 0 deletions

1
srcpkgs/eudev-libgudev Symbolic link
View File

@ -0,0 +1 @@
eudev

View File

@ -0,0 +1 @@
eudev

1
srcpkgs/eudev-libudev Symbolic link
View File

@ -0,0 +1 @@
eudev

1
srcpkgs/eudev-libudev-devel Symbolic link
View File

@ -0,0 +1 @@
eudev

90
srcpkgs/eudev/template Normal file
View File

@ -0,0 +1,90 @@
# Template file for 'eudev'
_UDEV_VERSION="207" # compatible udev version provided
pkgname=eudev
version=1.3
revision=1
conf_files="/etc/udev/udev.conf"
conflicts="systemd>=0"
build_style=gnu-configure
configure_args="--enable-libkmod"
hostmakedepends="automake libtool pkg-config gperf glib-devel"
makedepends="libblkid-devel libkmod-devel libglib-devel"
short_desc="systemd's udev fork (enhanced udev)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.gentoo.org/proj/en/eudev/"
distfiles="http://dev.gentoo.org/~blueness/eudev/eudev-${version}.tar.gz"
checksum=6f1f0b15971a53c7070a44c902c7c1303f952927aa6370dbdf4d84d8bc09fac2
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
pre_configure() {
autoreconf -fi
}
eudev-libgudev-devel_package() {
provides="libgudev-devel-${_UDEV_VERSION}_${revision}"
conflicts="libgudev-devel>=0"
depends="eudev-libgudev>=${version}_${revision}"
short_desc+=" - gudev development files"
pkg_install() {
vmove usr/include/gudev-1.0
vmove usr/lib/pkgconfig/gudev-1.0.pc
vmove usr/lib/libgudev-1.0.a
vmove usr/lib/libgudev-1.0.so
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}
eudev-libgudev_package() {
provides="libgudev-${_UDEV_VERSION}_${revision}"
conflicts="libgudev>=0"
short_desc+=" - gudev runtime library"
pkg_install() {
vmove "usr/lib/libgudev-1.0.so.*"
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
eudev-libudev-devel_package() {
provides="libudev-devel-${_UDEV_VERSION}_${revision}"
conflicts="libudev-devel>=0"
depends="eudev-libudev>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/pkgconfig
}
}
eudev-libudev_package() {
provides="libudev-${_UDEV_VERSION}_${revision}"
conflicts="libudev>=0"
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}