19 lines
528 B
Plaintext
19 lines
528 B
Plaintext
# Description: Ini file parser
|
|
# URL: https://github.com/ndevilla/iniparser
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
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 -d $PKG/usr/{include,lib}
|
|
install -m 644 src/*.h $PKG/usr/include
|
|
install -m 644 libiniparser.a $PKG/usr/lib
|
|
install -m 755 libiniparser.so.1 $PKG/usr/lib
|
|
ln -s libiniparser.so.1 $PKG/usr/lib/libiniparser.so
|
|
}
|