summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/setserial
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 18:19:34 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 18:19:34 (GMT)
commitfbc08d61eff10b56a2fbab64a8dab5bdc1eb5edf (patch)
treef13fef98d3532918169ec24cb19cf6eda653d258 /abs/core-testing/setserial
parent5445907db788ab2c7c73ea19fc47d59c862fc6a3 (diff)
downloadlinhes_pkgbuild-fbc08d61eff10b56a2fbab64a8dab5bdc1eb5edf.zip
linhes_pkgbuild-fbc08d61eff10b56a2fbab64a8dab5bdc1eb5edf.tar.gz
linhes_pkgbuild-fbc08d61eff10b56a2fbab64a8dab5bdc1eb5edf.tar.bz2
firewire, lm_sensors, lynx and setserial
Diffstat (limited to 'abs/core-testing/setserial')
-rw-r--r--abs/core-testing/setserial/PKGBUILD22
-rw-r--r--abs/core-testing/setserial/setserial.patch28
2 files changed, 50 insertions, 0 deletions
diff --git a/abs/core-testing/setserial/PKGBUILD b/abs/core-testing/setserial/PKGBUILD
new file mode 100644
index 0000000..acab19d
--- /dev/null
+++ b/abs/core-testing/setserial/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: aurelien <aurelien@archlinux.org>
+# Contributor: Aurelien Foret <orelien@chez.com>
+pkgname=setserial
+pkgver=2.17
+pkgrel=2
+pkgdesc="Allows to change various attributes of a serial device."
+url="http://setserial.sourceforge.net/"
+depends=('glibc')
+
+arch=(i686)
+source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz $pkgname.patch)
+md5sums=('c4867d72c41564318e0107745eb7a0f2' '99919d3be7c1550721494070a7ace66a')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ patch -Np1 -i ../$pkgname.patch
+ ./configure --prefix=/usr
+ make || return 1
+ mkdir -p $startdir/pkg/usr/{bin,man/man8}
+ make DESTDIR=$startdir/pkg install
+}
diff --git a/abs/core-testing/setserial/setserial.patch b/abs/core-testing/setserial/setserial.patch
new file mode 100644
index 0000000..3cce1f0
--- /dev/null
+++ b/abs/core-testing/setserial/setserial.patch
@@ -0,0 +1,28 @@
+diff -ur setserial-2.17/Makefile.in setserial-2.17-new/Makefile.in
+--- setserial-2.17/Makefile.in 2000-01-27 16:39:07.000000000 +0100
++++ setserial-2.17-new/Makefile.in 2005-03-09 20:53:31.000000000 +0100
+@@ -17,6 +17,11 @@
+ INCS = -I.
+ TAR = tar
+
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++bindir=@bindir@
++mandir=@mandir@
++
+ all: setserial setserial.cat
+
+ setserial: setserial.c
+@@ -26,9 +31,9 @@
+ nroff -man setserial.8 > setserial.cat
+
+ install: setserial setserial.8
+- $(INSTALL_PROGRAM) setserial $(DESTDIR)/bin
+- $(STRIP) $(DESTDIR)/bin/setserial
+- $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8
++ $(INSTALL_PROGRAM) setserial $(DESTDIR)$(bindir)
++ $(STRIP) $(DESTDIR)$(bindir)/setserial
++ $(INSTALL_DATA) setserial.8 $(DESTDIR)$(mandir)/man8
+
+ clean:
+ $(RM) setserial setserial.o setserial.cat *~