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

MAKEDEPS="python make "
DEPS="libidn"

PKG_VER=0.21.1
SOURCE=https://github.com/rockdaboot/libpsl/releases/download/$PKG_VER/libpsl-$PKG_VER.tar.gz
DESC="C library to handle the Public Suffix List"

prepare () {
    sed -i 's/env python/&3/' src/psl-make-dafsa 
}

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

package () {
    make DESTDIR=$PKG_DEST install
}