aboutsummaryrefslogtreecommitdiffstats
path: root/main/mtx/APKBUILD
blob: 5fb9a720f3eb90846ee28592d8105f0731686e2e (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="mtx"
pkgver=1.3.12
pkgrel=2
pkgdesc="SCSI Media Changer and Backup Device Control"
url="http://mtx.opensource-sw.net/"
arch="all"
license="GPL2"
depends=""
makedepends=""
install=""
subpackages=""
source="http://downloads.sourceforge.net/mtx/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datadir=/usr/share \
		|| return 1
	make || return 1
	make prefix="$pkgdir" install
}

md5sums="ce8f0e44671fb0c7d9ec30bb0bfa8b5c  mtx-1.3.12.tar.gz"