New package: ldm-git-20140709
This commit is contained in:
parent
55cb16ac08
commit
e04749e863
1 changed files with 30 additions and 0 deletions
30
srcpkgs/ldm-git/template
Normal file
30
srcpkgs/ldm-git/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'ldm-git'
|
||||
pkgname=ldm-git
|
||||
version=20140709
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="perl"
|
||||
makedepends="libmount-devel eudev-libudev-devel"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue