blob: 3af101e884155bbb5b79a21966d7fc8e17738086 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=setserial
pkgver=2.17
pkgrel=0
pkgdesc="Serial driver config tool"
url="http://sourceforge.net/projects/setserial/"
license="GPL"
depends=
makedepends="groff"
install=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
setserial.patch
"
arch="all"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
patch -p1 -i "$srcdir"/setserial.patch
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
make DESTDIR="$pkgdir" install
}
md5sums="c4867d72c41564318e0107745eb7a0f2 setserial-2.17.tar.gz
99919d3be7c1550721494070a7ace66a setserial.patch"
|