mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
26 lines
904 B
Bash
26 lines
904 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
|
|
|
|
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
|
|
}
|