aboutsummaryrefslogtreecommitdiffstats
path: root/main/mt-st/APKBUILD
blob: 33b48cc43c6926f0f74a0e4847d5de5897e22064 (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
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=mt-st
pkgver=1.1
pkgrel=2
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=
subpackages="$pkgname-doc"
source="http://www.ibiblio.org/pub/linux/system/backup/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	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"