Install mysql_config in STAGING_DIR/usr/bin
SVN-Revision: 1075
This commit is contained in:
parent
103ef5cc48
commit
1e4e635d5f
1 changed files with 10 additions and 2 deletions
|
@ -94,25 +94,33 @@ $(PKG_BUILD_DIR)/.built:
|
||||||
SUBDIRS="include libmysql" \
|
SUBDIRS="include libmysql" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
all install
|
all install
|
||||||
|
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
||||||
|
SUBDIRS="scripts" \
|
||||||
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
bin_SCRIPTS="mysql_config" \
|
||||||
|
install
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(IPKG_LIBMYSQLCLIENT):
|
$(IPKG_LIBMYSQLCLIENT):
|
||||||
install -d -m0755 $(IDIR_LIBMYSQLCLIENT)/usr/lib
|
install -d -m0755 $(IDIR_LIBMYSQLCLIENT)/usr/lib
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
|
cp -fp $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
|
||||||
$(RSTRIP) $(IDIR_LIBMYSQLCLIENT)
|
$(RSTRIP) $(IDIR_LIBMYSQLCLIENT)
|
||||||
$(IPKG_BUILD) $(IDIR_LIBMYSQLCLIENT) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(IDIR_LIBMYSQLCLIENT) $(PACKAGE_DIR)
|
||||||
|
|
||||||
$(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so: $(PKG_BUILD_DIR)/.built
|
$(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so: $(PKG_BUILD_DIR)/.built
|
||||||
|
mkdir -p $(STAGING_DIR)/usr/bin
|
||||||
|
cp -fp $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(STAGING_DIR)/usr/bin/
|
||||||
mkdir -p $(STAGING_DIR)/usr/include
|
mkdir -p $(STAGING_DIR)/usr/include
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/usr/include/mysql $(STAGING_DIR)/usr/include/
|
cp -fpR $(PKG_INSTALL_DIR)/usr/include/mysql $(STAGING_DIR)/usr/include/
|
||||||
mkdir -p $(STAGING_DIR)/usr/lib
|
mkdir -p $(STAGING_DIR)/usr/lib
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/mysql $(STAGING_DIR)/usr/lib/
|
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/mysql $(STAGING_DIR)/usr/lib/
|
||||||
touch $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so
|
touch $@
|
||||||
|
|
||||||
install-dev: $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so
|
install-dev: $(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so
|
||||||
|
|
||||||
uninstall-dev:
|
uninstall-dev:
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
$(STAGING_DIR)/usr/bin/mysql_config \
|
||||||
$(STAGING_DIR)/usr/include/mysql \
|
$(STAGING_DIR)/usr/include/mysql \
|
||||||
$(STAGING_DIR)/usr/lib/mysql \
|
$(STAGING_DIR)/usr/lib/mysql \
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue