Skip to content

Instantly share code, notes, and snippets.

Created November 16, 2013 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7497074 to your computer and use it in GitHub Desktop.
Save anonymous/7497074 to your computer and use it in GitHub Desktop.
Pkgfile
# Description: C preprocessor implementations of a hash table and a linked list.
# URL: http://uthash.sourceforge.net/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Danny Rawlins, monster dot romster at gmail dot com
name=uthash
version=1.9.7
release=1
source=(http://downloads.sourceforge.net/uthash/$name-$version.tar.bz2)
build() {
cd $name-$version/src
# create directory for header files
install -dm755 $PKG/usr/include/
# install header files in /usr/include
for h in $(ls -1 *.h); do
install -m 0644 $h $PKG/usr/include/
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment