20 lines
517 B
Bash
20 lines
517 B
Bash
# Template file for 'uthash'
|
|
pkgname=uthash
|
|
version=2.1.0
|
|
revision=1
|
|
short_desc="A hash table for C structures"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://troydhanson.github.com/uthash/"
|
|
distfiles="https://github.com/troydhanson/uthash/archive/v${version}.tar.gz"
|
|
checksum=152ccd8e64d0f495377232e3964d06c7ec8bb8c3fbd3217f8a5702614f9a669e
|
|
|
|
do_install() {
|
|
vmkdir usr/include
|
|
vcopy src/* /usr/include
|
|
cd doc/
|
|
for docs in *.txt; do
|
|
vdoc $docs
|
|
done
|
|
vlicense ../LICENSE
|
|
}
|