sync dropbear with wr, remove zlib dependency
[openwrt.git] / openwrt / package / mrd6 / Makefile
index 250b14f..ea92943 100644 (file)
@@ -1,17 +1,18 @@
-# $Id: Makefile 1146 2005-06-05 13:32:28Z florian $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mrd6
-PKG_VERSION:=0.9.4-beta2
+PKG_VERSION:=0.9.5
 PKG_RELEASE:=1
-PKG_MD5SUM:=fe2e617954eccacd9b5c3d6e85f41c89
+PKG_MD5SUM:=24a08cf1407000d628a272b08a415dda
 
 PKG_SOURCE_URL:=http://hng.av.it.pt/mrd6/download/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 include $(TOPDIR)/package/rules.mk
 
@@ -29,8 +30,8 @@ $(PKG_BUILD_DIR)/.built:
                CXX=$(TARGET_CROSS)g++ \
                CC=$(TARGET_CC) \
                STAGING_DIR=$(STAGING_DIR) \
-               PREFIX=/usr \
                DESTDIR=$(PKG_INSTALL_DIR) \
+               PREFIX=/usr/ \
                install
        install -d -m0755 $(PKG_INSTALL_DIR)/etc/init.d
        install -m0644 files/$(PKG_NAME).conf $(PKG_INSTALL_DIR)/etc
@@ -39,6 +40,6 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_MRD6): 
        mkdir -p $(IDIR_MRD6)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/ $(IDIR_MRD6)/
+       $(CP) $(PKG_INSTALL_DIR)/ $(IDIR_MRD6)/
        $(RSTRIP) $(IDIR_MRD6)/
        $(IPKG_BUILD) $(IDIR_MRD6) $(PACKAGE_DIR)
This page took 0.024499 seconds and 4 git commands to generate.