# vim: set syn=sh:
# Packager: Phill Watkins <ubemail~at~ymail~dot~com>

pkgname=udpcast
pkgver=20100130
pkgrel=1pw
#arch=noarch
source=("http://udpcast.linux.lu/download/udpcast-$pkgver.tar.gz")
sourcetemplate=http://people.salixos.org/pwatk/packages/13.2/n/$pkgname
docs=("Changelog.txt" "COPYING" "cmd.html")
url=http://udpcast.linux.lu/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"udpcast (Multicasting file transfer tool)"
"UDPcast is a file transfer tool that can send data simultaneously to"
"many destinations on a LAN. This can for instance be used to install"
"entire classrooms of PC's at once. The advantage of UDPcast over using"
"other methods (nfs, ftp, whatever) is that UDPcast uses Ethernet's"
"multicast abilities: it won't take longer to install 15 machines than"
"it would to install just 2."
)


build() {
	set -e
	
	cd $startdir/src/$pkgname-$pkgver
	./configure \
	  --prefix=/usr \
	  --sysconfdir=/etc \
	  --localstatedir=/var \
	  --libdir=/usr/lib${LIBDIRSUFFIX} \
	  --mandir=/usr/man \
	  --infodir=/usr/info \
	  --docdir=/usr/doc/$pkgname-$pkgver \
	  --build=$arch-slackware-linux
	make -j $numjobs
	make install DESTDIR=$startdir/pkg

	set +e
}