Added sysfsutils-2.1.0 build template.

--HG--
extra : convert_revision : cca5c079baf300fb0bab1923710e1b81048d883c
This commit is contained in:
Juan RP 2010-01-12 14:29:54 +01:00
parent 37e8e182d8
commit 2282018e56
6 changed files with 52 additions and 0 deletions

1
srcpkgs/libsysfs Symbolic link
View File

@ -0,0 +1 @@
sysfsutils

1
srcpkgs/libsysfs-devel Symbolic link
View File

@ -0,0 +1 @@
sysfsutils

View File

@ -0,0 +1,2 @@
abi_depends=">=2.1.0"
api_depends="${abi_depends}"

View File

@ -0,0 +1,18 @@
# Template file for 'libsysfs-devel'.
#
short_desc="libsysfs - development tools"
long_desc="${long_desc}
This package contains the libsysfs files for development: headers,
static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libsysfs
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,15 @@
# Template file for 'libsysfs'.
#
short_desc="Library to query system device information exposed through sysfs"
long_desc="${long_desc}
The library's purpose is to provide a consistant and stable interface for
querying system device information exposed through sysfs."
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so.* ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,15 @@
# Template file for 'sysfsutils'
pkgname=sysfsutils
version=2.1.0
distfiles="${SOURCEFORGE_SITE}/linux-diag/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="System Utilities Based on Sysfs"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a
long_desc="
These are a set of utilites built upon sysfs, a new virtual filesystem
in Linux kernel versions 2.5+ that exposes a system's device tree."
subpackages="libsysfs libsysfs-devel"
Add_dependency run glibc
Add_dependency run libsysfs