blob: add803b271ea3b19538763903da266fcea21fa23 (
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
|
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=mt-st
pkgver=1.1
pkgrel=1
pkgdesc="Linux SCSI tape driver aware magnetic tape control"
url="http://www.ibiblio.org/pub/linux/system/backup/"
arch="all"
license="GPL2"
depends=
makedepends=
install="$pkgname.post-deinstall"
subpackages="$pkgname-doc"
source="http://www.ibiblio.org/pub/linux/system/backup/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
#prepare() {
# cd "$_builddir"
# # apply patches here
#}
build() {
cd "$_builddir"
# ./configure --prefix=/usr \
# --sysconfdir=/etc \
# --mandir=/usr/share/man \
# --infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
for dir in sbin bin usr/share/man/man1 usr/share/man/man8
do
mkdir -p $pkgdir/$dir || return 1
done
make SBINDIR=$pkgdir/sbin BINDIR=$pkgdir/bin \
MANDIR=$pkgdir/usr/share/man install || return 1
}
md5sums="fdd5f5ec673c9f630a102ceff7612774 mt-st-1.1.tar.gz"
|