2012-05-11 04:45:15 +02:00
|
|
|
# Template file for 'dmraid'
|
|
|
|
pkgname=dmraid
|
|
|
|
_distver=1.0.0.rc16
|
|
|
|
_patchver=3
|
2014-10-12 12:34:17 +02:00
|
|
|
revision=6
|
2012-05-29 15:42:26 +02:00
|
|
|
version="${_distver}.${_patchver}"
|
2012-05-11 04:45:15 +02:00
|
|
|
wrksrc="${pkgname}"
|
|
|
|
build_wrksrc="${_distver}-${_patchver}/${pkgname}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-led --enable-intel_led --enable-shared_lib"
|
2014-10-12 12:34:17 +02:00
|
|
|
makedepends="device-mapper-devel"
|
2014-03-29 15:34:57 +01:00
|
|
|
lib32disabled=yes
|
2012-05-11 04:45:15 +02:00
|
|
|
short_desc="Device mapper RAID interface"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-07-09 18:24:28 +02:00
|
|
|
homepage="http://people.redhat.com/~heinzm/sw/dmraid/"
|
2014-11-01 20:14:00 +01:00
|
|
|
update_pattern='dmraid-\K[\d.rc-]+(?=\.tar.bz2)'
|
2012-07-09 18:24:28 +02:00
|
|
|
distfiles="${homepage}/src/dmraid-${_distver}-${_patchver}.tar.bz2"
|
2012-05-11 04:45:15 +02:00
|
|
|
checksum=93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
|
|
|
# systemd service.
|
2012-07-09 18:24:28 +02:00
|
|
|
vinstall ${FILESDIR}/dmraid.service 644 usr/lib/systemd/system
|
2012-05-11 04:45:15 +02:00
|
|
|
}
|