diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/davfs2/Makefile | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
optimize ipkg package management
- generate ipkg control file from PKG_* variables
- automatically install init scripts from ./files/*.init
set #PKG pkgname to set the binary package
- rename FWINIT -> INIT
- move postinst and conffiles meta data to ./files
- update the packages to the latest upstream version
- remove some unready or unused package (strongswan,..)
more cleanups needed after allmodconfig
Diffstat (limited to 'package/davfs2/Makefile')
-rw-r--r-- | package/davfs2/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/package/davfs2/Makefile b/package/davfs2/Makefile index 4e90b1a05..d84ae0f1b 100644 --- a/package/davfs2/Makefile +++ b/package/davfs2/Makefile @@ -9,11 +9,22 @@ PKG_NAME= davfs2 PKG_VERSION= 1.3.3 PKG_RELEASE= 1 PKG_MD5SUM= 57def26e4d6d63527e01612d10fd0515 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dav/} +PKG_DESCR:= WebDAV filesystem +PKG_SECTION:= admin +PKG_URL:= http://savannah.nongnu.org/projects/davfs2 +PKG_SITES= ${MASTER_SITE_SOURCEFORGE:=dav/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,DAVFS2,davfs2,${PKG_VERSION}-${PKG_RELEASE})) +ifeq (${ADK_PACKAGE_DAVFS2_FUSE},y) +PKG_DEPENDS:= fuse-utils, kmod-fuse, libfuse, libiconv, neon +else ifeq (${ADK_PACKAGE_DAVFS2_CODA},y) +PKG_DEPENDS:= kmod-fs-coda, libiconv, neon +else +PKG_DEPENDS:= kmod-fs-coda, fuse-utils, kmod-fuse, libfuse, libiconv, neon +endif + +$(eval $(call PKG_template,DAVFS2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --with-neon @@ -21,14 +32,6 @@ CONFIGURE_ENV+= LIBS=-liconv BUILD_STYLE= auto INSTALL_STYLE= auto -ifeq (${ADK_PACKAGE_DAVFS2_FUSE},y) -DEPS= fuse-utils, kmod-fuse, libfuse, libiconv, neon -else ifeq (${ADK_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: ${INSTALL_DIR} ${IDIR_DAVFS2}/etc/davfs2 ${INSTALL_DIR} ${IDIR_DAVFS2}/usr/sbin @@ -38,6 +41,5 @@ post-install: ${IDIR_DAVFS2}/usr/sbin ${INSTALL_BIN} ${WRKINST}/usr/sbin/umount.davfs \ ${IDIR_DAVFS2}/usr/sbin - echo 'Depends: ${DEPS}' >>${IDIR_DAVFS2}/CONTROL/control include ${TOPDIR}/mk/pkg-bottom.mk |