2017-03-30 15:00:45 +02:00
|
|
|
|
# Description: GNU Libidn, Stringprep, Punycode ve IDNA 2003 teknik özelliklerinin tam olarak belgelendirilmiş bir uygulamasıdır.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.gnu.org/software/libidn/
|
2017-03-30 15:00:45 +02:00
|
|
|
|
# Packager: milisarge
|
2017-03-30 15:01:43 +02:00
|
|
|
|
# Depends on:
|
2017-03-30 15:00:45 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=libidn
|
|
|
|
|
version=1.32
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
2017-03-30 15:00:45 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
2017-03-30 15:01:43 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
./configure --prefix=/usr --disable-static \
|
|
|
|
|
--mandir=/usr/share/man --infodir=/usr/share/info
|
2017-03-30 15:01:43 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2017-03-30 15:01:43 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
rm $PKG/usr/share/info/{dir,libidn-components.png}
|
|
|
|
|
# Doc
|
|
|
|
|
find doc -name "Makefile*" -delete
|
|
|
|
|
rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi}
|
|
|
|
|
mkdir -p /usr/share/doc/$name-$version
|
|
|
|
|
cp -r -v doc/* /usr/share/doc/$name-$version
|
|
|
|
|
}
|