Added libuuid-1.41.5 template.

This is splitted off of e2fsprogs, so that packages requiring
it won't depend in unnecessary stuff.

--HG--
extra : convert_revision : 19b1c8252cc44853f2169f611d0d9f6960ea5e7b
This commit is contained in:
Juan RP 2009-05-13 06:58:03 +02:00
parent 96792cac80
commit 0263f41d2d
4 changed files with 41 additions and 0 deletions

1
templates/libuuid-devel Symbolic link
View file

@ -0,0 +1 @@
libuuid

View file

@ -0,0 +1,2 @@
abi_depends=1.41.5
api_depends=${abi_depends}

View file

@ -0,0 +1,14 @@
# Template file for 'libuuid-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libuuid
do_install()
{
mkdir -p ${DESTDIR}
mv ${SRCPKGDESTDIR}/usr ${DESTDIR}
}

View file

@ -0,0 +1,24 @@
# Template file for 'libuuid'
pkgname=libuuid
sourcepkg=$pkgname
version=1.41.5
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="
short_desc="UUID library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b3d7d0e1058a3740ddae83d47285bd9dce161eec9e299dde7996ed721da32198
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
}