mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
Merge pull request #4426 from diogoleal/uthash-2.0.0
uthash: update to 2.0.0
This commit is contained in:
commit
f846074b83
1 changed files with 9 additions and 12 deletions
|
@ -1,23 +1,20 @@
|
||||||
# Template file for 'uthash'
|
# Template file for 'uthash'
|
||||||
pkgname=uthash
|
pkgname=uthash
|
||||||
version=1.9.9
|
version=2.0.0
|
||||||
revision=2
|
revision=1
|
||||||
short_desc="A hash table for C structures"
|
short_desc="A hash table for C structures"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://troydhanson.github.com/uthash/"
|
homepage="http://troydhanson.github.com/uthash/"
|
||||||
distfiles="https://github.com/troydhanson/uthash/archive/v${version}.tar.gz"
|
distfiles="https://github.com/troydhanson/uthash/archive/v${version}.tar.gz"
|
||||||
checksum=f2f10115f4de03b98d8c2e860e241d165aa15019bd634ee0e3debe58341bbf0c
|
checksum=54b900e9159168fdad29b78d680be8ab09987d40fc31b018ec5a1347e763dfde
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/include
|
vmkdir usr/include
|
||||||
vcopy src/utarray.h usr/include
|
vcopy src/* /usr/include
|
||||||
vcopy src/uthash.h usr/include
|
cd doc/
|
||||||
vcopy src/utlist.h usr/include
|
for docs in *.txt; do
|
||||||
vcopy src/utstring.h usr/include
|
vdoc $docs
|
||||||
vdoc doc/userguide.txt
|
done
|
||||||
vdoc doc/utarray.txt
|
vlicense ../LICENSE
|
||||||
vdoc doc/utlist.txt
|
|
||||||
vdoc doc/utstring.txt
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue