summaryrefslogtreecommitdiff
path: root/libs/fcgi2/MAKEPKG
blob: ae3c7b784d5840dd7c763ef7843b8a1f80ef5eae (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
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/mkpkg
# description: FastCGI development kit (libfcgi)
# url: https://github.com/FastCGI-Archives/fcgi2

name=fcgi2
version=2.4.7
release=2
depends=()
makedeps=(autoconf automake libtool m4)
source=(https://github.com/FastCGI-Archives/fcgi2/archive/refs/tags/$version.tar.gz)
sha256sums=(
    "e41ddc3a473b555bdc0cbd80703dcb1f4610c1a7700d3b9d3d0c14a416e1074b"
)

build() {
    cd $name-$version

    ./autogen.sh

    ./configure \
        --prefix=/usr \
        --disable-static \
        --disable-examples

    make
    make DESTDIR=$PKG install

    rm -rf $PKG/usr/share/doc
    rm -f $PKG/usr/lib/libfcgi++.* $PKG/usr/include/fcgio.h
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh