contrib/gift-gnutella/Pkgfile
2009-07-09 19:12:44 +10:00

25 lines
873 B
Plaintext

# Description: The Gnutella plug-in for giFT.
# URL: http://gift.sourceforge.net/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Coviello Giuseppe, giuseppecoviello at tin dot it
# Depends on: gift
name=gift-gnutella
version=0.0.11
release=1
source=(http://downloads.sourceforge.net/sourceforge/gift/gift-gnutella-$version.tar.bz2
http://update.kceasy.com/update/gnutella/nodes.gzip
http://update.kceasy.com/update/gnutella/hostiles.txt.gzip
http://update.kceasy.com/update/gnutella/gwebcaches.gzip)
build() {
cd gift-gnutella-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
zcat $SRC/nodes.gzip |tr -d '\r' > $PKG/usr/share/giFT/Gnutella/nodes
zcat $SRC/hostiles.txt.gzip |tr -d '\r' > $PKG/usr/share/giFT/Gnutella/hostiles.txt
zcat $SRC/gwebcaches.gzip |tr -d '\r' > $PKG/usr/share/giFT/Gnutella/gwebcaches
}