# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Shinlun Hsieh pkgname=ser2net pkgver=2.5 pkgrel=1 pkgdesc="A proxy that allows telnet/tcp connections to be made to serial ports" arch=(i686 x86_64) url="http://sourceforge.net/projects/ser2net" license=('GPL') depends=('glibc') backup=(etc/ser2net.conf) source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz \ ser2net.init) md5sums=('c11f36ff2e4c523be7b282f2f6d03638' '78e776c2f3fa7e6ebe76f55fd429072c') build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 install -D -m 0644 ser2net.conf ${startdir}/pkg/etc/ser2net.conf && \ install -D -m 0755 ../ser2net.init ${startdir}/pkg/etc/rc.d/ser2net }