summaryrefslogtreecommitdiff
path: root/community/ser2net/PKGBUILD
blob: 88a056cb706730c14e25c0fbd33deb34211c5456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 65435 2012-02-21 05:45:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>

pkgname=ser2net
pkgver=2.7
pkgrel=2
pkgdesc="A proxy that allows telnet/tcp connections to be made to serial ports"
arch=(i686 x86_64 'mips64el')
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=('22977477789868923a5de09a85e847dd'
         '6db420d54ce8f78464e885efe935dd18')

build() {
  cd $srcdir/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir install
  install -D -m 0644 ser2net.conf $pkgdir/etc/ser2net.conf
  install -D -m 0755 ../ser2net.init $pkgdir/etc/rc.d/ser2net
}