mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Initial .bep and patch file for mpg123-1.12.1
This commit is contained in:
23
media-sound/mpg123/mpg123-1.12.1.bep
Normal file
23
media-sound/mpg123/mpg123-1.12.1.bep
Normal 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"
|
||||
25
media-sound/mpg123/patches/mpg123-1.12.1.patch
Normal file
25
media-sound/mpg123/patches/mpg123-1.12.1.patch
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user