summaryrefslogtreecommitdiff
path: root/package/davfs2/Makefile
blob: b3a1dbcda49aa5c1ece19df770aecc1dd9922e0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		davfs2
PKG_VERSION:=		1.4.6
PKG_RELEASE:=		2
PKG_MD5SUM:=		c9e8aeb15daeba4b6283b40bb640e908
PKG_DESCR:=		WebDAV filesystem
PKG_SECTION:=		net/fs
PKG_DEPENDS:=		fuse-utils kmod-fuse-fs libiconv neon
PKG_BUILDDEP:=		libiconv neon fuse
PKG_URL:=		http://savannah.nongnu.org/projects/davfs2/
PKG_SITES:=		http://www.very-clever.com/download/nongnu/davfs2/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,DAVFS2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--with-neon
CONFIGURE_ENV+=		LIBS=-liconv

post-install:
	${INSTALL_DIR} ${IDIR_DAVFS2}/etc/davfs2
	${INSTALL_DIR} ${IDIR_DAVFS2}/usr/sbin
	$(CP) ${WRKINST}/etc/davfs2/{davfs2.conf,secrets} \
		${IDIR_DAVFS2}/etc/davfs2
	${INSTALL_BIN} ${WRKINST}/usr/sbin/mount.davfs \
		${IDIR_DAVFS2}/usr/sbin
	${INSTALL_BIN} ${WRKINST}/usr/sbin/umount.davfs \
		${IDIR_DAVFS2}/usr/sbin

include ${TOPDIR}/mk/pkg-bottom.mk