diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ser2net/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ser2net/PKGBUILD')
-rw-r--r-- | community/ser2net/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/ser2net/PKGBUILD b/community/ser2net/PKGBUILD new file mode 100644 index 000000000..42ab9590f --- /dev/null +++ b/community/ser2net/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 43441 2011-03-26 08:44:47Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> + +pkgname=ser2net +pkgver=2.7 +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=('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 +} |