diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/setserial | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/setserial')
-rw-r--r-- | abs/core/setserial/PKGBUILD | 22 | ||||
-rw-r--r-- | abs/core/setserial/setserial.patch | 28 |
2 files changed, 50 insertions, 0 deletions
diff --git a/abs/core/setserial/PKGBUILD b/abs/core/setserial/PKGBUILD new file mode 100644 index 0000000..acab19d --- /dev/null +++ b/abs/core/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/setserial/setserial.patch b/abs/core/setserial/setserial.patch new file mode 100644 index 0000000..3cce1f0 --- /dev/null +++ b/abs/core/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 *~ |