libmad: cleanup, fix cflags

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8272 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-07-31 10:49:03 +00:00
parent 6f75e2e796
commit 96aa1b0547

View File

@ -46,21 +46,17 @@ define Package/libmad
URL:=http://www.underbit.com/products/mad/
endef
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
--enable-fpm="$(FPM)" \
--disable-debugging \
--enable-speed \
)
endef
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--enable-fpm="$(FPM)" \
--disable-debugging \
--enable-speed \
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include