diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-03-06 12:03:54 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-03-06 12:03:54 +0000 |
commit | 95ab18e175d33954f8ce7d59af01eaf79767eaf4 (patch) | |
tree | 3d71937c64207297f0ce7fb2cbe33cd9a384b343 /package/dropbear | |
parent | f03c7796adde4d9461ad53d236bd2f2e0fe6f4e2 (diff) | |
download | upstream-95ab18e175d33954f8ce7d59af01eaf79767eaf4.tar.gz upstream-95ab18e175d33954f8ce7d59af01eaf79767eaf4.tar.bz2 upstream-95ab18e175d33954f8ce7d59af01eaf79767eaf4.zip |
Add package install dependencies (don't install a package if it's already installed)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@315 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dropbear')
-rw-r--r-- | package/dropbear/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile index eec889deaf..62d802e941 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -69,11 +69,14 @@ $(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) chmod a+x $(DROPBEAR_IPK_DIR)/etc/init.d/S50dropbear $(IPKG_BUILD) $(DROPBEAR_IPK_DIR) $(PACKAGE_DIR) +$(IPKG_STATE_DIR)/info/dropbear.list: $(PACKAGE_DIR)/$(DROPBEAR_IPK) + $(IPKG) install $(PACKAGE_DIR)/$(DROPBEAR_IPK) + source: $(DL_DIR)/$(DROPBEAR_SOURCE) prepare: $(DROPBEAR_DIR)/.patched compile: $(PACKAGE_DIR)/$(DROPBEAR_IPK) -install: compile - $(IPKG) install $(PACKAGE_DIR)/$(DROPBEAR_IPK) +install: $(IPKG_STATE_DIR)/info/dropbear.list + clean: rm -rf $(DROPBEAR_DIR) rm -f $(PACKAGE_DIR)/$(DROPBEAR_IPK) |