reconvert spaces to tabs - Signed-off-by: Alfred E. Heggestad <aeh@db.org <mailto:aeh@db.org>
This commit is contained in:
parent
acd8a619f4
commit
e041bd2981
1 changed files with 20 additions and 20 deletions
|
@ -25,40 +25,40 @@ define Package/libre
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libre/description
|
define Package/libre/description
|
||||||
Generic library for real-time communications with async IO support.
|
Generic library for real-time communications with async IO support.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
HAVE_LIBRESOLV= \
|
HAVE_LIBRESOLV= \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
|
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
|
||||||
EXTRA_LFLAGS="-lm" \
|
EXTRA_LFLAGS="-lm" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
SYSROOT="$(TOOLCHAIN_DIR)" \
|
SYSROOT="$(TOOLCHAIN_DIR)" \
|
||||||
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
||||||
RELEASE=1 \
|
RELEASE=1 \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/include
|
mkdir -p $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/re $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/re $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
mkdir -p $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.{a,so*} $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/UninstallDev
|
define Build/UninstallDev
|
||||||
rm -rf \
|
rm -rf \
|
||||||
$(STAGING_DIR)/usr/include/re \
|
$(STAGING_DIR)/usr/include/re \
|
||||||
$(STAGING_DIR)/usr/lib/libre.{a,so*}
|
$(STAGING_DIR)/usr/lib/libre.{a,so*}
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libre/install
|
define Package/libre/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.so* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libre))
|
$(eval $(call BuildPackage,libre))
|
||||||
|
|
Loading…
Reference in a new issue