2014-07-09 19:38:19 +02:00
|
|
|
# Template file for 'ldm-git'
|
|
|
|
pkgname=ldm-git
|
2014-12-13 20:34:10 +01:00
|
|
|
version=20141213
|
2014-07-09 19:38:19 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="perl git"
|
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"
|
|
|
|
provides="ldm-${version}_${revision}"
|
|
|
|
replaces="ldm>=0"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/LemonBoy/ldm"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
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() {
|
|
|
|
#systemd service in provided in examples
|
|
|
|
vinstall ldm.service 644 usr/share/examples/ldm
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/ldm
|
|
|
|
}
|