libpsl-32: new port at 0.21.2

This commit is contained in:
Luis
2023-11-17 13:24:40 +00:00
parent 88b0afa932
commit 90fb484cae
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1 @@
2864d3eb744b378d68f5c4da25603459 libpsl-0.21.2.tar.gz

View File

@@ -0,0 +1,8 @@
libpsl-32-0.21.2-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib32/
lrwxrwxrwx root/root usr/lib32/libpsl.so -> libpsl.so.5.3.4
lrwxrwxrwx root/root usr/lib32/libpsl.so.5 -> libpsl.so.5.3.4
-rwxr-xr-x root/root usr/lib32/libpsl.so.5.3.4
drwxr-xr-x root/root usr/lib32/pkgconfig/
-rw-r--r-- root/root usr/lib32/pkgconfig/libpsl.pc

View File

@@ -0,0 +1,26 @@
# description : Library for accessing and resolving information from the Public Suffix List
# depends : libidn2-32 libunistring-32 python3
name=libpsl-32
version=0.21.2
release=1
source="https://github.com/rockdaboot/libpsl/releases/download/$version/libpsl-$version.tar.gz"
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
cd libpsl-$version
sed -i 's/env python/&3/' src/psl-make-dafsa
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--disable-static
make
make DESTDIR=$PWD/DESTDIR install
mkdir -p $PKG/usr/lib32
mv DESTDIR/usr/lib32/* $PKG/usr/lib32/
}