diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-04-30 03:48:16 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-05-05 23:41:11 +0200 |
commit | 5d6f32878f707f4c28fe09d02e960d851c76e3c3 (patch) | |
tree | fd1da7d454eb2c305e4e84ab55e2a1451f0857c4 /package/libmad/libmad.mk | |
parent | 84d589a963d902849b7022091e97ec71c38ed82e (diff) |
package/multimedia: move audio libraries out
Move audio libraries out of the Audio and Video category into the
Libraries/Audio one.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libmad/libmad.mk')
-rw-r--r-- | package/libmad/libmad.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk new file mode 100644 index 000000000..a469fece1 --- /dev/null +++ b/package/libmad/libmad.mk @@ -0,0 +1,35 @@ +############################################################# +# +# libmad +# +############################################################# + +LIBMAD_VERSION = 0.15.1b +LIBMAD_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mad/ +LIBMAD_INSTALL_STAGING = YES +LIBMAD_LIBTOOL_PATCH = NO + +define LIBMAD_PREVENT_AUTOMAKE + # Prevent automake from running. + (cd $(@D); touch -c config* aclocal.m4 Makefile*); +endef + +define LIBMAD_INSTALL_STAGING_PC + $(INSTALL) -D package/multimedia/libmad/mad.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/mad.pc +endef + +define LIBMAD_INSTALL_TARGET_PC + $(INSTALL) -D package/multimedia/libmad/mad.pc \ + $(TARGET_DIR)/usr/lib/pkgconfig/mad.pc +endef + +LIBMAD_POST_PATCH_HOOKS += LIBMAD_PREVENT_AUTOMAKE +LIBMAD_POST_INSTALL_STAGING_HOOKS += LIBMAD_INSTALL_STAGING_PC +LIBMAD_POST_INSTALL_TARGET_HOOKS += LIBMAD_INSTALL_TARGET_PC + +LIBMAD_CONF_OPT = \ + --disable-debugging \ + --enable-speed + +$(eval $(call AUTOTARGETS)) |