From e704264a2bd77e740ab89bc9ffb5cb5068ec82a1 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Mon, 8 Nov 2010 16:14:20 +0000 Subject: main/mt-st: new aport --- main/mt-st/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ main/mt-st/mt-st.post-deinstall | 3 +++ 2 files changed, 43 insertions(+) create mode 100644 main/mt-st/APKBUILD create mode 100644 main/mt-st/mt-st.post-deinstall (limited to 'main/mt-st') diff --git a/main/mt-st/APKBUILD b/main/mt-st/APKBUILD new file mode 100644 index 0000000000..617e0bf9c4 --- /dev/null +++ b/main/mt-st/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Leonardo Arena +pkgname=mt-st +pkgver=1.1 +pkgrel=0 +pkgdesc="Linux SCSI tape driver aware magnetic tape control" +url="http://www.ibiblio.org/pub/linux/system/backup/" +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" diff --git a/main/mt-st/mt-st.post-deinstall b/main/mt-st/mt-st.post-deinstall new file mode 100644 index 0000000000..99b57c4635 --- /dev/null +++ b/main/mt-st/mt-st.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s -- cgit v1.2.3