forked from ports/contrib
20 lines
608 B
Plaintext
20 lines
608 B
Plaintext
|
# Description: ini file parser
|
||
|
# URL: https://github.com/ndevilla/iniparseri
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: chrpath
|
||
|
|
||
|
name=iniparser
|
||
|
version=4.1
|
||
|
release=1
|
||
|
source=(https://github.com/ndevilla/iniparser/archive/v$version/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
make
|
||
|
install -Dm0644 src/iniparser.h $PKG/usr/include/iniparser.h
|
||
|
install -Dm0644 src/dictionary.h $PKG/usr/include/dictionary.h
|
||
|
install -Dm0644 libiniparser.so.1 $PKG/usr/lib/libiniparser.so.1
|
||
|
ln -sf libiniparser.so.1 $PKG/usr/lib/libiniparser.so
|
||
|
chrpath -d $PKG/usr/lib/libiniparser.so
|
||
|
}
|