From b1e02ec12d540eff9e9c0b59783d9761d8b0703c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 13 May 2009 07:00:56 +0200 Subject: [PATCH] Added libblkid-2.15 template. libblkid is now supplied by util-linux-ng, and newer HAL needs this version. --HG-- extra : convert_revision : 3653d55f743585b7982e17f5ea0ab00474056902 --- templates/libblkid-devel | 1 + templates/libblkid/build.diff | 13 +++++++++++++ templates/libblkid/depends | 2 ++ templates/libblkid/devel.template | 18 ++++++++++++++++++ templates/libblkid/template | 21 +++++++++++++++++++++ 5 files changed, 55 insertions(+) create mode 120000 templates/libblkid-devel create mode 100644 templates/libblkid/build.diff create mode 100644 templates/libblkid/depends create mode 100644 templates/libblkid/devel.template create mode 100644 templates/libblkid/template diff --git a/templates/libblkid-devel b/templates/libblkid-devel new file mode 120000 index 00000000000..fee422ced62 --- /dev/null +++ b/templates/libblkid-devel @@ -0,0 +1 @@ +libblkid \ No newline at end of file diff --git a/templates/libblkid/build.diff b/templates/libblkid/build.diff new file mode 100644 index 00000000000..7496e99ecee --- /dev/null +++ b/templates/libblkid/build.diff @@ -0,0 +1,13 @@ +--- Makefile.in.orig 2009-05-13 04:24:38.602959508 +0200 ++++ Makefile.in 2009-05-13 04:25:11.570694167 +0200 +@@ -250,9 +250,7 @@ dist_noinst_DATA = $(dist_man_MANS) + # + ul_libblkid_srcdir = $(top_srcdir)/libs/blkid/src + ul_libblkid_la = $(top_builddir)/libs/blkid/src/libblkid.la +-SUBDIRS = include disk-utils fdisk getopt lib libs login-utils \ +- misc-utils po schedutils sys-utils text-utils tests \ +- $(am__append_1) $(am__append_2) $(am__append_3) ++SUBDIRS = libs + RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \ + -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o + diff --git a/templates/libblkid/depends b/templates/libblkid/depends new file mode 100644 index 00000000000..df5c394aa38 --- /dev/null +++ b/templates/libblkid/depends @@ -0,0 +1,2 @@ +abi_depends=2.15 +api_depends=${abi_depends} diff --git a/templates/libblkid/devel.template b/templates/libblkid/devel.template new file mode 100644 index 00000000000..6d0cc5c7a1d --- /dev/null +++ b/templates/libblkid/devel.template @@ -0,0 +1,18 @@ +# Template file for 'libblkid-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libblkid + +do_install() +{ + mkdir -p ${DESTDIR}/usr/share/man ${DESTDIR}/lib ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/lib/*.*a ${DESTDIR}/lib + mv ${SRCPKGDESTDIR}/lib/*.so ${DESTDIR}/lib +} diff --git a/templates/libblkid/template b/templates/libblkid/template new file mode 100644 index 00000000000..3ca883dace4 --- /dev/null +++ b/templates/libblkid/template @@ -0,0 +1,21 @@ +# Template file for 'libblkid' +pkgname=libblkid +sourcepkg=$pkgname +version=2.15 +_utilng=util-linux-ng +wrksrc=${_utilng}-${version} +distfiles="${KERNEL_SITE}/utils/$pkgname/v2.15/${_utilng}-${version}.tar.bz2" +build_style=gnu_configure +configure_args="--with-fsprobe=builtin" +short_desc="Library to handle device identification" +maintainer="Juan RP " +checksum=db4dcbf99d989a8f539d7521e9e64047367fa2ccdcbb91517cdec19693a41ffd +long_desc=" + The libblkid package contains a library to handle device identification + and token extraction, plus some utilities that use libblkid: findfs(8) + and blkid(8)." + +subpackages="devel" +Add_dependency full glibc +Add_dependency full zlib +Add_dependency full libuuid