projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing codepage closes #1619 Thanks Luboš Staněk
[openwrt/svn-archive/archive.git]
/
lang
/
php4
/
Makefile
diff --git
a/lang/php4/Makefile
b/lang/php4/Makefile
index f3bdc99d7c5f361bcda6391af627a87329808250..047c13663755e9fcff7f69dfc1758f5e5e2e89c4 100644
(file)
--- a/
lang/php4/Makefile
+++ b/
lang/php4/Makefile
@@
-182,7
+182,7
@@
PKG_CONFIGURE_OPTS:= \
--with-zlib-dir="$(STAGING_DIR)/usr" \
ifneq ($(SDK),)
--with-zlib-dir="$(STAGING_DIR)/usr" \
ifneq ($(SDK),)
- PKG_BUILD
DEP
:=libopenssl zlib libcurl libgd libgmp libopenldap libmysqlclient libpq libsqlite2 libexpat
+ PKG_BUILD
_DEPENDS
:=libopenssl zlib libcurl libgd libgmp libopenldap libmysqlclient libpq libsqlite2 libexpat
# force PKG_CONFIGURE_{LIBS,OPTS} below when built in the SDK
CONFIG_PACKAGE_php4-cli:=m
CONFIG_PACKAGE_php4-cgi:=m
# force PKG_CONFIGURE_{LIBS,OPTS} below when built in the SDK
CONFIG_PACKAGE_php4-cli:=m
CONFIG_PACKAGE_php4-cgi:=m
@@
-321,32
+321,32
@@
define Build/Compile
endef
define Package/php4/install
endef
define Package/php4/install
-
install -d -m0755
$(1)/etc
-
install -m0644
./files/php.ini $(1)/etc/
+
$(INSTALL_DIR)
$(1)/etc
+
$(INSTALL_DATA)
./files/php.ini $(1)/etc/
endef
define Package/php4-cli/install
endef
define Package/php4-cli/install
-
install -d -m0755
$(1)/usr/bin
+
$(INSTALL_DIR)
$(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/php-cli $(1)/usr/bin/php
endef
define Package/php4-cgi/install
$(CP) $(PKG_BUILD_DIR)/php-cli $(1)/usr/bin/php
endef
define Package/php4-cgi/install
-
install -d -m0755
$(1)/usr/bin
+
$(INSTALL_DIR)
$(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/php-cgi $(1)/usr/bin/php
endef
define Package/php4-fastcgi/install
$(CP) $(PKG_BUILD_DIR)/php-cgi $(1)/usr/bin/php
endef
define Package/php4-fastcgi/install
-
install -d -m0755
$(1)/usr/sbin
+
$(INSTALL_DIR)
$(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/php-fastcgi $(1)/usr/sbin/php
$(CP) $(PKG_BUILD_DIR)/php-fastcgi $(1)/usr/sbin/php
-
install -d -m0755
$(1)/etc/init.d
-
install -m0755
./files/php.init $(1)/etc/init.d/php
+
$(INSTALL_DIR)
$(1)/etc/init.d
+
$(INSTALL_BIN)
./files/php.init $(1)/etc/init.d/php
endef
define BuildPlugin
define Package/$(1)/install
endef
define BuildPlugin
define Package/$(1)/install
- [ -z "$(2)" ] ||
install -d -m0755
$$(1)/usr/lib/php
+ [ -z "$(2)" ] ||
$(INSTALL_DIR)
$$(1)/usr/lib/php
for m in $(2); do \
for m in $(2); do \
-
install -m0755
$(PKG_BUILD_DIR)/modules/$$$$$$$${m}.so $$(1)/usr/lib/php/ ; \
+
$(INSTALL_BIN)
$(PKG_BUILD_DIR)/modules/$$$$$$$${m}.so $$(1)/usr/lib/php/ ; \
done
endef
done
endef