mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 15:21:43 +01:00
35 lines
749 B
Plaintext
35 lines
749 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=lua-uuid
|
|
pkgver=2010.11
|
|
pkgrel=1
|
|
pkgdesc="Lua library generating universally unique identifiers based on libuuid"
|
|
url="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid"
|
|
arch="all"
|
|
license="Public Domain"
|
|
depends=
|
|
makedepends="lua-dev util-linux-dev"
|
|
install=
|
|
subpackages=
|
|
source="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1/luuid.tar.gz"
|
|
|
|
# seems like they just update the upstream source package. Version is found in
|
|
# luuid.c
|
|
|
|
_builddir="$srcdir"/uuid
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make so || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
install -Dm755 uuid.so "$pkgdir"/usr/lib/lua/5.1/uuid.so
|
|
}
|
|
|
|
md5sums="d479786745a71398c3b1e0dfd75a4e03 luuid.tar.gz"
|