new package: uthash

This commit is contained in:
Leonid Pliushch 2021-09-10 21:42:13 +03:00
parent d97fd74b93
commit 4e4c9f0c83
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 14 additions and 0 deletions

14
packages/uthash/build.sh Normal file
View File

@ -0,0 +1,14 @@
TERMUX_PKG_HOMEPAGE=https://troydhanson.github.io/uthash/
TERMUX_PKG_DESCRIPTION="C preprocessor implementations of a hash table and a linked list"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.3.0
TERMUX_PKG_SRCURL=https://github.com/troydhanson/uthash/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=e10382ab75518bad8319eb922ad04f907cb20cccb451a3aa980c9d005e661acc
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
cd src
install -Dm600 -t $TERMUX_PREFIX/include *.h
}