[packages] siproxd: explicitly set libosip path for configure (closes: #5791), use PKG_INSTALL

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20898 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2010-04-16 01:34:14 +00:00
parent 3efbb29299
commit 03be9f0131

View File

@ -16,6 +16,7 @@ PKG_SOURCE_URL:=@SF/siproxd
PKG_MD5SUM:=45e5a44803181e2bf3361d562060c904
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@ -31,15 +32,12 @@ define Package/siproxd/conffiles
/etc/config/siproxd
endef
# uses GNU configure
CONFIGURE_ARGS+= \
--with-libosip-prefix="$(STAGING_DIR)/usr" \
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
SUBDIRS="src scripts contrib" \
LIBLTDL="$(STAGING_DIR)/usr/lib/libltdl.la" \
all install
endef
MAKE_FLAGS+= \
SUBDIRS="src scripts contrib" \
LIBLTDL="$(STAGING_DIR)/usr/lib/libltdl.la" \
define Package/siproxd/install
$(INSTALL_DIR) $(1)/usr/sbin