summaryrefslogtreecommitdiffstats
path: root/extra/libiconv/Pkgfile
blob: aea80416d7647647d3a8b835104df16b30cfbd55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Fournit un support pour l'encodage de langages
# URL: http://www.gnu.org/software/libiconv/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=libiconv
version=1.13.1
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=/usr 
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/bin/iconv
	rm $PKG/usr/include/iconv.h
	rm -r $PKG/usr/share/doc
	chown -R 0:0 $PKG
}