summaryrefslogtreecommitdiffstats
path: root/extra/jigdo/Pkgfile
blob: 641fff28a9d7c9412395352d733348bd3a772f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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: gtk

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
}