summaryrefslogtreecommitdiff
path: root/uselessPorts/libconfuse/Pkgfile
blob: c2cf7fee48b7c95cbb1ca7a8c2690c5db1d87897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description:  A configuration file parser library, LGPL licensed, written in C
# URL:          http://www.nongnu.org/confuse/
# Packager:     Matt Housh, jaeger at morpheus dot net
# Contributor:  Daryl Fonseca-Holt, wyatt at prairieturtle dot ca
# Maintainer:   Erich Eckner, crux at eckner dot net

name=libconfuse
version=2.7
release=1
source=(http://download.savannah.gnu.org/releases/confuse/confuse-$version.tar.gz)

build() {
    cd ${name/#lib/}-$version
#    sed -i 's/-Werror//' src/Makefile.in
    ./configure --prefix=/usr \
        --enable-shared \
        --disable-nls
    make
    make DESTDIR=$PKG install
}