[patch-team] reconvert spaces to tabs - Signed-off-by: Alfred E. Heggestad <aeh@db.org <mailto:aeh@db.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24654 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
37cc341dbd
commit
5f1f3d87f4
@ -25,40 +25,40 @@ define Package/libre
|
||||
endef
|
||||
|
||||
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
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
HAVE_LIBRESOLV= \
|
||||
CC="$(TARGET_CC)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
|
||||
EXTRA_LFLAGS="-lm" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
SYSROOT="$(TOOLCHAIN_DIR)" \
|
||||
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
||||
RELEASE=1 \
|
||||
all install
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
HAVE_LIBRESOLV= \
|
||||
CC="$(TARGET_CC)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
|
||||
EXTRA_LFLAGS="-lm" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
SYSROOT="$(TOOLCHAIN_DIR)" \
|
||||
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
||||
RELEASE=1 \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
mkdir -p $(1)/usr/include
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/re $(1)/usr/include/
|
||||
mkdir -p $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.{a,so*} $(1)/usr/lib/
|
||||
mkdir -p $(1)/usr/include
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/re $(1)/usr/include/
|
||||
mkdir -p $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.{a,so*} $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Build/UninstallDev
|
||||
rm -rf \
|
||||
$(STAGING_DIR)/usr/include/re \
|
||||
$(STAGING_DIR)/usr/lib/libre.{a,so*}
|
||||
rm -rf \
|
||||
$(STAGING_DIR)/usr/include/re \
|
||||
$(STAGING_DIR)/usr/lib/libre.{a,so*}
|
||||
endef
|
||||
|
||||
define Package/libre/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.so* $(1)/usr/lib/
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libre))
|
||||
|
@ -27,30 +27,30 @@ define Package/baresip
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
MOD_AUTODETECT= \
|
||||
USE_G711=1 USE_L16=1 \
|
||||
USE_STDIO=1 USE_CONS=1 USE_EVDEV=1 \
|
||||
USE_OSS=1 \
|
||||
CC="$(TARGET_CC)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
|
||||
$(PKG_MAKE_OPTS) \
|
||||
SYSROOT="$(TOOLCHAIN_DIR)" \
|
||||
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
||||
RELEASE=1 \
|
||||
all install
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
MOD_AUTODETECT= \
|
||||
USE_G711=1 USE_L16=1 \
|
||||
USE_STDIO=1 USE_CONS=1 USE_EVDEV=1 \
|
||||
USE_OSS=1 \
|
||||
CC="$(TARGET_CC)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
|
||||
$(PKG_MAKE_OPTS) \
|
||||
SYSROOT="$(TOOLCHAIN_DIR)" \
|
||||
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
||||
RELEASE=1 \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/baresip/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/baresip $(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/baresip/modules
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/baresip/modules/*.so $(1)/usr/lib/baresip/modules/.
|
||||
$(INSTALL_DIR) $(1)/usr/share/baresip
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/baresip/* $(1)/usr/share/baresip/.
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/baresip.init $(1)/etc/init.d/baresip
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/baresip $(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/baresip/modules
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/baresip/modules/*.so $(1)/usr/lib/baresip/modules/.
|
||||
$(INSTALL_DIR) $(1)/usr/share/baresip
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/baresip/* $(1)/usr/share/baresip/.
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/baresip.init $(1)/etc/init.d/baresip
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,baresip))
|
||||
|
@ -27,26 +27,26 @@ endef
|
||||
#PKG_MAKE_OPTS += USE_MYSQL=
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC="$(TARGET_CC)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
$(PKG_MAKE_OPTS) \
|
||||
SYSROOT="$(TOOLCHAIN_DIR)" \
|
||||
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
||||
RELEASE=1 \
|
||||
all install
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC="$(TARGET_CC)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
$(PKG_MAKE_OPTS) \
|
||||
SYSROOT="$(TOOLCHAIN_DIR)" \
|
||||
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
||||
RELEASE=1 \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/restund/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/restund $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/$(PKG_NAME)/modules
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/$(PKG_NAME)/modules/*.so $(1)/usr/lib/$(PKG_NAME)/modules/.
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/etc/restund.conf $(1)/etc/
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/restund.init $(1)/etc/init.d/restund
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/restund $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/$(PKG_NAME)/modules
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/$(PKG_NAME)/modules/*.so $(1)/usr/lib/$(PKG_NAME)/modules/.
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/etc/restund.conf $(1)/etc/
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/restund.init $(1)/etc/init.d/restund
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,restund))
|
||||
|
Loading…
x
Reference in New Issue
Block a user