mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/array-info: new aport
retrieve informations and status from RAID controllers http://array-info.sourceforge.net/
This commit is contained in:
parent
34426ec225
commit
78d1bd5b54
27
testing/array-info/APKBUILD
Normal file
27
testing/array-info/APKBUILD
Normal file
@ -0,0 +1,27 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=array-info
|
||||
pkgver=0.16
|
||||
pkgrel=0
|
||||
pkgdesc="retrieve informations and status from RAID controllers"
|
||||
url="http://array-info.sourceforge.net/"
|
||||
license="GPL"
|
||||
arch="all"
|
||||
depends=
|
||||
makedepends="docbook-xsl gzip"
|
||||
install=
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
local _xsl=$(echo /usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl)
|
||||
make prefix=/usr DOCBOOK2XMAN="xsltproc --nonet $_xsl" \
|
||||
#build_lib build_plugins abuild-info array-info.1.gz \
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
make prefix=/usr DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
md5sums="802e9be5e40a5a945956a123fc81f65f array-info_0.16.tar.gz"
|
||||
20
testing/array-info/array-info-makefile.patch
Normal file
20
testing/array-info/array-info-makefile.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- Makefile.orig Tue Dec 29 13:46:28 2009
|
||||
+++ Makefile Tue Dec 29 13:47:38 2009
|
||||
@@ -1,5 +1,5 @@
|
||||
DESTDIR =
|
||||
-prefix = /usr/local
|
||||
+prefix = /usr
|
||||
sbindir = $(prefix)/sbin
|
||||
pkglibdir = $(prefix)/lib/array-info
|
||||
mandir = $(prefix)/share/man
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
INCLUDES = -I./include -I./linuxheaders
|
||||
|
||||
-CFLAGS = -g2 -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
|
||||
-LDFLAGS = -L./lib -larray-info -ldl
|
||||
+CFLAGS += -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
|
||||
+LDFLAGS += -L./lib -larray-info -ldl
|
||||
OBJS = array_plugin.o array_utils.o main.o
|
||||
|
||||
ARRAY_PLUGIN_PATH=$(pkglibdir)/plugins
|
||||
Loading…
x
Reference in New Issue
Block a user