blob: f592955981c2612490b521043331629bbed247fa (
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
|
#!/bin/sh
MAKEDEPS="make findutils"
DEPS="musl libunistring"
PKG_VER=2.3.2
SOURCE=https://ftp.gnu.org/gnu/libidn/libidn2-$PKG_VER.tar.gz
DESC="Free software implementation of IDNA2008, Punycode and TR46"
build () {
./configure --prefix=/usr --disable-static
make
}
package () {
make DESTDIR=$PKG_DEST install
find ./doc -name "Makefile*" -delete &&
rm -rf doc/gdoc &&
rm -rf doc/idn.1 &&
rm -rf doc/stamp-vti &&
rm -rf doc/man &&
rm -rf doc/texi &&
mkdir -p $PKG_DEST/usr/share/doc/libidn-$PKG_VER &&
cp -r doc/* $PKG_DEST/usr/share/doc/libidn-$PKG_VER
}
|