From 2282018e56f8d59f8a6bdd494d21c3e6f8a8dc8a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 Jan 2010 14:29:54 +0100 Subject: [PATCH] Added sysfsutils-2.1.0 build template. --HG-- extra : convert_revision : cca5c079baf300fb0bab1923710e1b81048d883c --- srcpkgs/libsysfs | 1 + srcpkgs/libsysfs-devel | 1 + srcpkgs/sysfsutils/depends | 2 ++ srcpkgs/sysfsutils/libsysfs-devel.template | 18 ++++++++++++++++++ srcpkgs/sysfsutils/libsysfs.template | 15 +++++++++++++++ srcpkgs/sysfsutils/template | 15 +++++++++++++++ 6 files changed, 52 insertions(+) create mode 120000 srcpkgs/libsysfs create mode 120000 srcpkgs/libsysfs-devel create mode 100644 srcpkgs/sysfsutils/depends create mode 100644 srcpkgs/sysfsutils/libsysfs-devel.template create mode 100644 srcpkgs/sysfsutils/libsysfs.template create mode 100644 srcpkgs/sysfsutils/template diff --git a/srcpkgs/libsysfs b/srcpkgs/libsysfs new file mode 120000 index 00000000000..c411a9c8b11 --- /dev/null +++ b/srcpkgs/libsysfs @@ -0,0 +1 @@ +sysfsutils \ No newline at end of file diff --git a/srcpkgs/libsysfs-devel b/srcpkgs/libsysfs-devel new file mode 120000 index 00000000000..c411a9c8b11 --- /dev/null +++ b/srcpkgs/libsysfs-devel @@ -0,0 +1 @@ +sysfsutils \ No newline at end of file diff --git a/srcpkgs/sysfsutils/depends b/srcpkgs/sysfsutils/depends new file mode 100644 index 00000000000..5b6269ad029 --- /dev/null +++ b/srcpkgs/sysfsutils/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.1.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/sysfsutils/libsysfs-devel.template b/srcpkgs/sysfsutils/libsysfs-devel.template new file mode 100644 index 00000000000..de95c92470f --- /dev/null +++ b/srcpkgs/sysfsutils/libsysfs-devel.template @@ -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 +} diff --git a/srcpkgs/sysfsutils/libsysfs.template b/srcpkgs/sysfsutils/libsysfs.template new file mode 100644 index 00000000000..48bba2442ee --- /dev/null +++ b/srcpkgs/sysfsutils/libsysfs.template @@ -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 +} diff --git a/srcpkgs/sysfsutils/template b/srcpkgs/sysfsutils/template new file mode 100644 index 00000000000..f38f20084a4 --- /dev/null +++ b/srcpkgs/sysfsutils/template @@ -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 " +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