From 9913e38ff993408086d3a3a08e812f4f6dd3bc3e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Aug 2009 12:21:11 +0200 Subject: [PATCH] libuuid: update to 2.16. libuuid has been moved from e2fsprogs to util-linux-ng. --HG-- extra : convert_revision : 67b490fce8b0ac6b9b4e6278ed55583df4e653d4 --- templates/libuuid/build.diff | 13 +++++++++++++ templates/libuuid/template | 21 ++++++++------------- 2 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 templates/libuuid/build.diff diff --git a/templates/libuuid/build.diff b/templates/libuuid/build.diff new file mode 100644 index 00000000000..20cc59fdd09 --- /dev/null +++ b/templates/libuuid/build.diff @@ -0,0 +1,13 @@ +--- Makefile.in.orig 2009-08-12 11:15:33.768923564 +0200 ++++ Makefile.in 2009-08-12 11:16:29.184473940 +0200 +@@ -288,9 +288,7 @@ ul_libblkid_la = $(top_builddir)/shlibs/ + ul_libuuid_srcdir = $(top_srcdir)/shlibs/uuid/src + ul_libuuid_builddir = $(top_builddir)/shlibs/uuid/src + ul_libuuid_la = $(top_builddir)/shlibs/uuid/src/libuuid.la +-SUBDIRS = include disk-utils fdisk getopt lib shlibs login-utils \ +- misc-utils po schedutils sys-utils text-utils tests \ +- $(am__append_1) $(am__append_2) $(am__append_3) ++SUBDIRS = shlibs + 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/libuuid/template b/templates/libuuid/template index c9e1ccea5e6..0cae1ee94f5 100644 --- a/templates/libuuid/template +++ b/templates/libuuid/template @@ -1,23 +1,18 @@ # Template file for 'libuuid' pkgname=libuuid -version=1.41.8 -wrksrc=e2fsprogs-$version -distfiles="$SOURCEFORGE_SITE/e2fsprogs/e2fsprogs-$version.tar.gz" -build_style=custom-install -configure_args="--enable-elf-shlibs --disable-rpath --with-root-prefix=" +version=2.16 +_utilng=util-linux-ng +wrksrc=${_utilng}-${version} +distfiles="${KERNEL_SITE}/utils/$pkgname/v2.16/${_utilng}-${version}.tar.bz2" +build_style=gnu_configure +configure_args="--disable-mount --disable-fsck --enable-libuuid + --disable-libblkid" short_desc="UUID library" maintainer="Juan RP " -checksum=782c9f281ca970d176c61759465beec12b40c7793bb5fa52c8d9a61741e33801 +checksum=a6365fcb2b34439faa52164e1a018086c2b6818f8a189c487c79e09dc3c62722 long_desc=" libuuid generates and parses 128-bit universally unique id's (UUIDs). See RFC 4122 for more information," subpackages="devel" Add_dependency full glibc - -do_install() -{ - cd $wrksrc - ./configure --prefix=/usr ${configure_args} - cd lib/uuid && make && make DESTDIR=${DESTDIR} install -}