summaryrefslogtreecommitdiffstats
path: root/extra/jigdo/Pkgfile
blob: 9a80ce7fcea08177921d677c806b15b6ac559445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Jigsaw Download, un outil pour simplifier la distribution de gros fichiers sur internet, par exemple des images de CD ou de DVD.
# URL: http://atterer.net/jigdo
# Maintainer: NuTyX core team
# Packager: guy_
# Depends on: gtk
# Run on:
name=jigdo
version=0.7.3
release=1
source=(http://atterer.net/$name/$name-$version.tar.bz2 \
	http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/net-misc/jigdo/files/jigdo-0.7.3-gcc43.patch \
	)
build() {
	cd $name-$version
        patch -p1 < ../jigdo-0.7.3-gcc43.patch 
	sed '/--force-direct/s/\(" -- "\)$@"/\1`echo \$@ | sed s-#-%23-`"/' -i scripts/jigdo-lite
	./configure -prefix=/usr
	make
	make DESTDIR=$PKG install
}