ldm: update to 0.6.2.

This commit is contained in:
Juan RP 2015-08-02 06:18:07 +02:00
parent b20d1b8b76
commit 97550fe0ff
2 changed files with 9 additions and 23 deletions

View file

@ -1,10 +0,0 @@
--- ldm.c
+++ ldm.c
@@ -15,6 +15,7 @@
#include <sys/inotify.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <sys/types.h>
#include <sys/un.h>
#include <sys/wait.h>
#include <syslog.h>

View file

@ -1,26 +1,22 @@
# Template file for 'ldm' # Template file for 'ldm'
pkgname=ldm pkgname=ldm
version=0.6.1 version=0.6.2
revision=4 revision=1
build_style=gnu-makefile
hostmakedepends="perl pkg-config" hostmakedepends="perl pkg-config"
makedepends="libmount-devel libudev-devel libglib-devel cryptsetup-devel" makedepends="libmount-devel libudev-devel libglib-devel"
short_desc="A lightweight device mounter" short_desc="A lightweight device mounter"
maintainer="Ypnose <linuxienATlegtuxDOTorg>" maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT" license="MIT"
homepage="https://github.com/LemonBoy/ldm" homepage="https://github.com/LemonBoy/ldm"
distfiles="https://github.com/LemonBoy/${pkgname}/archive/v${version}.tar.gz" distfiles="https://github.com/LemonBoy/${pkgname}/archive/v${version}.tar.gz"
checksum="e182792145b588b4f8ba94622af7d690d181bf29f942d40b25dcfd609e2d37f8" checksum=14484ac229f8d6558f007ec1c139e5ada2d3c60230a55f99f939022cfd493c9b
replaces="ldm-git>=0"
pre_build() { do_build() {
# Don't include systemd service as default # Don't include systemd service as default
sed -i 's|install: all install-main install-systemd|install: all install-main|g' Makefile sed -i 's|install: all install-main install-systemd|install: all install-main|g' Makefile
case "$XBPS_TARGET_MACHINE" in make CC=$CC ${makejobs}
*-musl) export CFLAGS+=" -D__uid_t=uid_t -D__gid_t=gid_t" ;;
esac
} }
do_install() {
post_install() { make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall LICENSE 644 usr/share/licenses/ldm vlicense LICENSE
} }