Created
November 16, 2013 07:21
-
-
Save anonymous/7497074 to your computer and use it in GitHub Desktop.
Pkgfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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