summaryrefslogtreecommitdiff
path: root/repo/ucpp/ucpp.xibuild
blob: 778cab6ed361406e4682ac3de37f5aec3fe48773 (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
25
#!/bin/sh

NAME="ucpp"
DESC="C preprocessor which is embeddable, quick, light and C99 compliant"

MAKEDEPS=""

PKG_VER=1.3.5
SOURCE="https://gitlab.com/scarabeusiv/ucpp/-/archive/$PKG_VER/ucpp-$PKG_VER.tar.gz"

prepare () {
    autoreconf -vif
}

build() {
	./configure \
		--prefix=/usr \
		--disable-static
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}