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

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
}