2015-04-17 11:56:53 +02:00
|
|
|
# Template file for 'ldm'
|
|
|
|
pkgname=ldm
|
2015-12-12 09:12:13 +01:00
|
|
|
version=0.6.3
|
2015-08-02 06:18:07 +02:00
|
|
|
revision=1
|
2015-04-17 11:59:59 +02:00
|
|
|
hostmakedepends="perl pkg-config"
|
2015-08-02 06:18:07 +02:00
|
|
|
makedepends="libmount-devel libudev-devel libglib-devel"
|
2014-07-09 19:38:19 +02:00
|
|
|
short_desc="A lightweight device mounter"
|
2015-11-17 22:24:45 +01:00
|
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
2014-07-09 19:38:19 +02:00
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/LemonBoy/ldm"
|
2015-04-17 11:56:53 +02:00
|
|
|
distfiles="https://github.com/LemonBoy/${pkgname}/archive/v${version}.tar.gz"
|
2015-12-12 09:12:13 +01:00
|
|
|
checksum=7e5e2b406bc627d4df7676b470ead6af75739ce96dc283e25467bb123b2717d9
|
2014-07-09 19:38:19 +02:00
|
|
|
|
2015-08-02 06:18:07 +02:00
|
|
|
do_build() {
|
2014-07-09 19:38:19 +02: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 06:18:07 +02:00
|
|
|
make CC=$CC ${makejobs}
|
2015-05-10 13:06:06 +02:00
|
|
|
}
|
2015-08-02 06:18:07 +02:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
|
|
vlicense LICENSE
|
2014-07-09 19:38:19 +02:00
|
|
|
}
|