diff options
| author | Carlo Landmeter <clandmeter@gmail.com> | 2011-06-08 12:31:29 +0000 |
|---|---|---|
| committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-06-08 12:31:29 +0000 |
| commit | cecdabe0921a4ff6edc158d4fc6056d50a7184fa (patch) | |
| tree | d5c9e29e2e7ebfd73d508165bd6eecd3b44843c4 /testing/array-info | |
| parent | 90d6040a70df0a7db253bafc379550419d35ff60 (diff) | |
| parent | d32eb4447e316d676d56bd6a8899f983ef6db64f (diff) | |
| download | aports-cecdabe0921a4ff6edc158d4fc6056d50a7184fa.tar.bz2 aports-cecdabe0921a4ff6edc158d4fc6056d50a7184fa.tar.xz | |
Merge branch 'master' of ssh://git.alpinelinux.org/gitroot/aports
Diffstat (limited to 'testing/array-info')
| -rw-r--r-- | testing/array-info/APKBUILD | 27 | ||||
| -rw-r--r-- | testing/array-info/array-info-makefile.patch | 20 |
2 files changed, 47 insertions, 0 deletions
diff --git a/testing/array-info/APKBUILD b/testing/array-info/APKBUILD new file mode 100644 index 0000000000..77719a9c36 --- /dev/null +++ b/testing/array-info/APKBUILD @@ -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" diff --git a/testing/array-info/array-info-makefile.patch b/testing/array-info/array-info-makefile.patch new file mode 100644 index 0000000000..db7c18e450 --- /dev/null +++ b/testing/array-info/array-info-makefile.patch @@ -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 |
