2015-04-17 11:56:53 +02:00
|
|
|
# Template file for 'ldm'
|
|
|
|
pkgname=ldm
|
|
|
|
version=0.6
|
2014-07-09 19:38:19 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
2015-04-17 11:56:53 +02:00
|
|
|
hostmakedepends="perl"
|
2014-09-06 12:42:09 +02:00
|
|
|
makedepends="libmount-devel libudev-devel"
|
2014-07-09 19:38:19 +02:00
|
|
|
short_desc="A lightweight device mounter"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
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"
|
|
|
|
checksum="180306972ac4ea1881eceabf5acff5ba8b828bfd36aaa74a01d432f0bf575fab"
|
|
|
|
replaces="ldm-git>=0"
|
2014-07-09 19:38:19 +02:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
# Don't include systemd service as default
|
|
|
|
sed -i 's|install: all install-main install-systemd|install: all install-main|g' Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/ldm
|
|
|
|
}
|