New package: uthash-1.9.9

This commit is contained in:
Diogo Leal 2015-11-20 00:42:47 -02:00
parent 4a16af17a6
commit 661ec904a8
1 changed files with 23 additions and 0 deletions

23
srcpkgs/uthash/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'uthash'
pkgname=uthash
version=1.9.9
revision=1
short_desc="A hash table for C structures"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="BSD"
homepage="http://troydhanson.github.com/uthash/"
distfiles="https://github.com/troydhanson/uthash/archive/v${version}.tar.gz"
checksum=f2f10115f4de03b98d8c2e860e241d165aa15019bd634ee0e3debe58341bbf0c
do_install() {
vmkdir usr/include
vcopy src/utarray.h usr/include
vcopy src/uthash.h usr/include
vcopy src/utlist.h usr/include
vcopy src/utstring.h usr/include
vdoc doc/userguide.txt
vdoc doc/utarray.txt
vdoc doc/utlist.txt
vdoc doc/utstring.txt
vlicense doc/license.html
}