udev: add new libudev{,-devel} subpkgs, bumprev.
--HG-- extra : convert_revision : 46a690a7dc90fc74e16adbfc5575d6382f02a13e
This commit is contained in:
parent
b937632011
commit
6a31389aa3
9 changed files with 57 additions and 36 deletions
1
srcpkgs/libudev-devel
Symbolic link
1
srcpkgs/libudev-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
udev
|
|
@ -6,7 +6,11 @@ long_desc="${long_desc}
|
|||
This package contains the libgudev development files (static libs, headers,
|
||||
etc), a library to interact with udev through the GLib bindings."
|
||||
|
||||
revision=1
|
||||
replaces="udev-glib-devel"
|
||||
|
||||
Add_dependency run libudev-devel
|
||||
Add_dependency run glib-devel
|
||||
Add_dependency run libgudev
|
||||
|
||||
do_install()
|
||||
|
|
|
@ -6,9 +6,12 @@ long_desc="${long_desc}
|
|||
This package contains libgudev, a library to interact with udev through
|
||||
the GLib bindings."
|
||||
|
||||
revision=1
|
||||
replaces="udev-glib"
|
||||
|
||||
Add_dependency run udev
|
||||
Add_dependency run glib
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install()
|
||||
{
|
||||
|
|
25
srcpkgs/udev/libudev-devel.template
Normal file
25
srcpkgs/udev/libudev-devel.template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'libudev-devel'.
|
||||
#
|
||||
short_desc="libudev development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the files needed for developing applications
|
||||
that use libudev."
|
||||
|
||||
replaces="udev-devel"
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run libudev
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig \
|
||||
${DESTDIR}/usr/include ${DESTDIR}/lib \
|
||||
${DESTDIR}/usr/share/gtk-doc/html
|
||||
mv ${SRCPKGDESTDIR}/usr/include/libudev* ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/lib/libudev* ${DESTDIR}/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc/html/libudev \
|
||||
${DESTDIR}/usr/share/gtk-doc/html
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/libudev* \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
14
srcpkgs/udev/libudev.template
Normal file
14
srcpkgs/udev/libudev.template
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Template file for 'libudev'.
|
||||
#
|
||||
short_desc="ibudev shared library"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This library provides access to udev device information."
|
||||
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/lib
|
||||
mv ${SRCPKGDESTDIR}/lib/libudev*.so.* ${DESTDIR}/lib
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'udev'
|
||||
pkgname=udev
|
||||
version=149
|
||||
revision=1
|
||||
revision=2
|
||||
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--exec-prefix= --without-selinux --libexecdir=/lib/udev
|
||||
|
@ -16,18 +16,20 @@ long_desc="
|
|||
keep_empty_dirs=yes
|
||||
openrc_services="udev sysinit"
|
||||
conf_files="/etc/udev/udev.conf"
|
||||
subpackages="udev-devel libgudev libgudev-devel"
|
||||
subpackages="libudev libudev-devel libgudev libgudev-devel"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run acl
|
||||
Add_dependency run glib
|
||||
Add_dependency run libusb-compat
|
||||
Add_dependency run libudev
|
||||
Add_dependency full usbutils ">=0.82"
|
||||
Add_dependency full pciutils
|
||||
Add_dependency build glib
|
||||
Add_dependency build gperf
|
||||
Add_dependency build gobject-introspection
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build libtool
|
||||
Add_dependency build gperf
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build gobject-introspection-devel
|
||||
Add_dependency build acl-devel
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build libusb-compat-devel
|
||||
|
@ -63,4 +65,5 @@ post_install()
|
|||
mv $DESTDIR/lib/pkgconfig/* $DESTDIR/usr/lib/pkgconfig
|
||||
mv $DESTDIR/usr/share/pkgconfig/* $DESTDIR/usr/lib/pkgconfig
|
||||
rmdir $DESTDIR/usr/share/pkgconfig
|
||||
rmdir $DESTDIR/lib/pkgconfig
|
||||
}
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
# Template file for 'udev-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run libtool
|
||||
Add_dependency run gperf
|
||||
Add_dependency run gobject-introspection-devel
|
||||
Add_dependency run acl-devel
|
||||
Add_dependency run glib-devel
|
||||
Add_dependency run libusb-compat-devel
|
||||
Add_dependency run udev
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/share/gtk-doc/html \
|
||||
${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/include/*.h ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc/html/libudev \
|
||||
${DESTDIR}/usr/share/gtk-doc/html
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/udev.pc \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/libudev.pc \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
|
@ -164,7 +164,7 @@ libpcreposix.so pcre pcre-devel
|
|||
libpcrecpp.so pcre pcre-devel
|
||||
libgirepository-everything-1.0.so gobject-introspection gobject-introspection-devel
|
||||
libgirepository-1.0.so gobject-introspection gobject-introspection-devel
|
||||
libudev.so udev udev-devel
|
||||
libudev.so libudev libudev-devel
|
||||
libgudev.so libgudev libgudev-devel
|
||||
libproc-3.2.8.so procps
|
||||
libext2fs.so e2fsprogs-libs e2fsprogs-devel
|
||||
|
@ -406,3 +406,4 @@ libgfxpsshar.so thunderbird
|
|||
libldap60.so thunderbird
|
||||
libprldap60.so thunderbird
|
||||
libldif60.so thunderbird
|
||||
libcap-ng.so libcap-ng libcap-ng-devel
|
||||
|
|
Loading…
Reference in a new issue