21 lines
508 B
Bash
21 lines
508 B
Bash
# Template file for 'uthash'
|
|
pkgname=uthash
|
|
version=2.0.0
|
|
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=54b900e9159168fdad29b78d680be8ab09987d40fc31b018ec5a1347e763dfde
|
|
|
|
do_install() {
|
|
vmkdir usr/include
|
|
vcopy src/* /usr/include
|
|
cd doc/
|
|
for docs in *.txt; do
|
|
vdoc $docs
|
|
done
|
|
vlicense ../LICENSE
|
|
}
|