projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add package install dependencies (don't install a package if it's already installed)
[openwrt.git]
/
package
/
pptpd
/
Makefile
diff --git
a/package/pptpd/Makefile
b/package/pptpd/Makefile
index
dcd4e94
..
a320b15
100644
(file)
--- a/
package/pptpd/Makefile
+++ b/
package/pptpd/Makefile
@@
-60,11
+60,14
@@
$(PKG_IPK): $(PKG_BUILD_DIR)/$(PKG_NAME)
mkdir -p $(PACKAGE_DIR)
$(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
mkdir -p $(PACKAGE_DIR)
$(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
+$(IPKG_STATE_DIR)/info/pptpd.list: $(PKG_IPK)
+ $(IPKG) install $(PKG_IPK)
+
source: $(DL_DIR)/$(PKG_SOURCE)
prepare: $(PKG_BUILD_DIR)/.unpacked
compile: $(PKG_IPK)
source: $(DL_DIR)/$(PKG_SOURCE)
prepare: $(PKG_BUILD_DIR)/.unpacked
compile: $(PKG_IPK)
-install:
- $(IPKG) install $(PKG_IPK)
+install:
$(IPKG_STATE_DIR)/info/pptpd.list
+
clean:
rm -rf $(PKG_BUILD_DIR)
rm -f $(PKG_IPK)
clean:
rm -rf $(PKG_BUILD_DIR)
rm -f $(PKG_IPK)
This page took
0.023903 seconds
and
4
git commands to generate.