UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

libmad

libmad is a high-quality MPEG audio decoder capable of 24-bit output.

Package info

Codename: libmad
Source file: libmad-0.15.1b.tar.gz
Source directory: libmad-0.15.1b
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/l/libmad-0.15.1b.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/l/libmad-0.15.1b.tar.gz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: cdrdao, xine-lib, MPlayer, vlc.
Patches: libmad-0.15.1b-fixes-1.patch.
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
ARG_STATIC="--disable-static"
if [[ "$ULFS_PKG_STATIC" == "YES" ]]
then
    ARG_STATIC="--enable-static"
fi

sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &&
touch NEWS AUTHORS ChangeLog                                 &&
autoreconf -fi                                               &&

./configure --prefix=/usr $ARG_STATIC

Build script:
make

Install script:
make install

cat > /usr/lib/pkgconfig/mad.pc << "EOF"
prefix=/usr
exec_prefix=\${prefix}
libdir=\${exec_prefix}/lib
includedir=\${prefix}/include

Name: mad
Description: MPEG audio decoder
Requires:
Version: 0.15.1b
Libs: -L\${libdir} -lmad
Cflags: -I\${includedir}
EOF