void-packages/srcpkgs/ldm/template

23 lines
706 B
Bash
Raw Normal View History

# Template file for 'ldm'
pkgname=ldm
2015-08-02 04:18:07 +00:00
version=0.6.2
revision=1
2015-04-17 09:59:59 +00:00
hostmakedepends="perl pkg-config"
2015-08-02 04:18:07 +00:00
makedepends="libmount-devel libudev-devel libglib-devel"
2014-07-09 17:38:19 +00:00
short_desc="A lightweight device mounter"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/LemonBoy/ldm"
distfiles="https://github.com/LemonBoy/${pkgname}/archive/v${version}.tar.gz"
2015-08-02 04:18:07 +00:00
checksum=14484ac229f8d6558f007ec1c139e5ada2d3c60230a55f99f939022cfd493c9b
2014-07-09 17:38:19 +00:00
2015-08-02 04:18:07 +00:00
do_build() {
2014-07-09 17:38:19 +00:00
# Don't include systemd service as default
sed -i 's|install: all install-main install-systemd|install: all install-main|g' Makefile
2015-08-02 04:18:07 +00:00
make CC=$CC ${makejobs}
2015-05-10 11:06:06 +00:00
}
2015-08-02 04:18:07 +00:00
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
2014-07-09 17:38:19 +00:00
}