Initial .bep and patch file for mpg123-1.12.1

This commit is contained in:
Scott McCreary
2010-05-31 21:14:47 +00:00
parent 0a6bb10d79
commit 6544ad0692
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
DESCRIPTION="mpg123 is the fast and Free console based real time MPEG Audio Player for Layer 1, 2 and 3."
HOMEPAGE="http://www.mpg123.org/"
SRC_URI="http://sourceforge.net/projects/mpg123/files/mpg123/1.12.1/mpg123-1.12.1.tar.bz2/download"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="media-libs/libsdl >= 1.2"
CHECKSUM_MD5="e7d810a75d22954169f1530a436aca4c"
BUILD {
cd mpg123-1.12.1
libtoolize --force --copy --install
aclocal
autoconf
./configure --prefix=/boot/common
make
}
INSTALL {
cd mpg123-1.12.1
make install
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1995-2009 Michael Hipp and others"

View File

@@ -0,0 +1,25 @@
diff -urN mpg123-1.12.1/configure.ac mpg123-1.12.1-haiku/configure.ac
--- mpg123-1.12.1/configure.ac 2010-03-31 08:27:37.061603840 +0000
+++ mpg123-1.12.1-haiku/configure.ac 2010-05-31 20:43:38.656932864 +0000
@@ -545,10 +545,10 @@
;;
esac
;;
- i?86-*-dragonfly* | i?86-*-freebsd* | i?86-*-midnightbsd* | i?86-*-mirbsd* | i?86-*-netbsd* | i?86-*-openbsd*)
+ i?86-*-dragonfly* | i?86-*-freebsd* | i?86-*-midnightbsd* | i?86-*-mirbsd* | i?86-*-netbsd* | i?86-*-openbsd* | i?86-*-haiku*)
cpu_type="x86"
;;
- x86_64-*-dragonfly* | x86_64-*-freebsd* | x86_64-*-midnightbsd* | x86_64-*-mirbsd* | x86_64-*-netbsd* | x86_64-*-openbsd*)
+ x86_64-*-dragonfly* | x86_64-*-freebsd* | x86_64-*-midnightbsd* | x86_64-*-mirbsd* | x86_64-*-netbsd* | x86_64-*-openbsd* | x86_64-*-haiku*)
cpu_type="x86-64_all"
;;
*-*-dragonfly* | *-*-freebsd* | *-*-midnightbsd* | *-*-mirbsd* | *-*-netbsd* | *-*-openbsd*)
@@ -963,7 +963,7 @@
fi
dnl trying to get that socket lib settled in one line
-AC_SEARCH_LIBS(gethostbyname, nsl socket)
+AC_SEARCH_LIBS(gethostbyname, nsl socket network)
dnl OK, two lines... Solaris needs -lnsl -lsocket
AC_SEARCH_LIBS(socket, socket)