2019-08-04 22:26:07 +10:00
|
|
|
# Description: Public Suffix List library.
|
|
|
|
# URL: https://github.com/rockdaboot/libpsl
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2024-01-16 21:31:21 +01:00
|
|
|
# Depends on: libidn2-32 libpsl
|
2019-08-04 22:26:07 +10:00
|
|
|
|
|
|
|
name=libpsl-32
|
2024-01-16 21:31:21 +01:00
|
|
|
version=0.21.5
|
2020-07-24 19:05:16 +10:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/rockdaboot/${name%-*}/releases/download/$version/${name%-*}-$version.tar.lz)
|
2019-08-04 22:26:07 +10:00
|
|
|
|
|
|
|
build() {
|
2020-07-24 19:05:16 +10:00
|
|
|
meson setup build ${name%-*}-$version --prefix=/usr --libdir=/usr/lib32 \
|
|
|
|
-D runtime=libidn2 \
|
2022-12-28 14:04:00 +00:00
|
|
|
-D builtin=true \
|
2020-07-24 19:05:16 +10:00
|
|
|
-D psl_file=/usr/share/publicsuffix/effective_tld_names.dat \
|
|
|
|
-D psl_testfile=/usr/share/publicsuffix/test_psl.txt
|
2019-08-04 22:26:07 +10:00
|
|
|
|
2020-07-24 19:05:16 +10:00
|
|
|
ninja -j ${JOBS-1} -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2019-12-15 22:47:20 +11:00
|
|
|
|
2022-12-28 14:26:18 +00:00
|
|
|
rm -rf $PKG/usr/{bin,include,share}
|
2019-08-04 22:26:07 +10:00
|
|
|
}
|