# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include ${TOPDIR}/rules.mk PKG_NAME= davfs2 PKG_VERSION= 1.2.1 PKG_RELEASE= 11 PKG_MD5SUM= 5c962b5efe952239f715f9648508ecce #MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/} # unreliable MASTER_SITES= http://www.freewrt.org/distfiles/ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,DAVFS2,davfs2,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --with-neon CONFIGURE_ENV+= LIBS=-liconv BUILD_STYLE= auto fwwif INSTALL_STYLE= auto fwwif ifeq (${FWRT_PACKAGE_DAVFS2_FUSE},y) DEPS= fuse-utils, kmod-fuse, libfuse, libiconv, neon else ifeq (${FWRT_PACKAGE_DAVFS2_CODA},y) DEPS= kmod-fs-coda, libiconv, neon else DEPS= kmod-fs-coda, fuse-utils, kmod-fuse, libfuse, libiconv, neon endif post-install: cd ${WRKINST}; pax -rw -pe -v \ etc/davfs2/davfs2.conf \ etc/davfs2/secrets \ usr/sbin/mount.davfs \ usr/sbin/umount.davfs \ ${IDIR_DAVFS2}/ echo 'Depends: ${DEPS}' >>${IDIR_DAVFS2}/CONTROL/control include ${TOPDIR}/mk/pkg-bottom.mk