| 1 |
# $FreeWRT$ |
| 2 |
#- |
| 3 |
# This file is part of the FreeWRT project. FreeWRT is copyrighted |
| 4 |
# material, please see the LICENCE file in the top-level directory |
| 5 |
# or at http://www.freewrt.org/licence for details. |
| 6 |
|
| 7 |
include ${TOPDIR}/rules.mk |
| 8 |
|
| 9 |
PKG_NAME= davfs2 |
| 10 |
PKG_VERSION= 1.2.1 |
| 11 |
PKG_RELEASE= 10 |
| 12 |
PKG_MD5SUM= 5c962b5efe952239f715f9648508ecce |
| 13 |
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/} # unreliable |
| 14 |
MASTER_SITES= http://www.freewrt.org/distfiles/ |
| 15 |
|
| 16 |
include ${TOPDIR}/mk/package.mk |
| 17 |
|
| 18 |
$(eval $(call PKG_template,DAVFS2,davfs2,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) |
| 19 |
|
| 20 |
CONFIGURE_STYLE= gnu |
| 21 |
CONFIGURE_ARGS+= --with-neon |
| 22 |
CONFIGURE_ENV+= LIBS=-liconv |
| 23 |
BUILD_STYLE= auto fwwif |
| 24 |
INSTALL_STYLE= auto fwwif |
| 25 |
|
| 26 |
ifeq (${FWRT_PACKAGE_DAVFS2_FUSE},y) |
| 27 |
DEPS= fuse-utils, kmod-fuse, libfuse, libiconv, neon |
| 28 |
else ifeq (${FWRT_PACKAGE_DAVFS2_CODA},y) |
| 29 |
DEPS= kmod-fs-coda, libiconv, neon |
| 30 |
else |
| 31 |
DEPS= kmod-fs-coda, fuse-utils, kmod-fuse, libfuse, libiconv, neon |
| 32 |
endif |
| 33 |
|
| 34 |
post-install: |
| 35 |
cd ${WRKINST}; pax -rw -pe -v \ |
| 36 |
etc/davfs2/davfs2.conf \ |
| 37 |
etc/davfs2/secrets \ |
| 38 |
usr/sbin/mount.davfs \ |
| 39 |
usr/sbin/umount.davfs \ |
| 40 |
${IDIR_DAVFS2}/ |
| 41 |
echo 'Depends: ${DEPS}' >>${IDIR_DAVFS2}/CONTROL/control |
| 42 |
|
| 43 |
include ${TOPDIR}/mk/pkg-bottom.mk |