vp-build/templates/libuuid/template
Juan RP dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00

24 lines
693 B
Plaintext

# 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="
short_desc="UUID library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=782c9f281ca970d176c61759465beec12b40c7793bb5fa52c8d9a61741e33801
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
}