summaryrefslogtreecommitdiff
path: root/repo/system/argp-standalone.xibuild
blob: c393169ed5a893767a2169be5f73383c160af564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

MAKEDEPS=""
DEPS=""

PKG_VER=
SOURCE=https://github.com/ericonr/argp-standalone/archive/$PKG_VER.tar.gz

DESC="Standalone implementation for the argp interface"

build () {
    CFLAGS=" -fPIC" ./configure \
        --prefix=/usr           \
        --disable-static        \
        --sysconfdir=/etc       \
        --localstatedir=/var    &&
    make
}

package () {
    cp -v libargp.a $PKG_DEST/usr/lib/
    cp -v argp.h    $PKG_DEST/usr/include/
}