SHARE
TWEET

Untitled

a guest May 29th, 2014 203 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SUMMARY="Fast console MPEG Audio Player and decoder library"
  2. DESCRIPTION="
  3. mpg123 is the fast and Free console based real time MPEG Audio Player for \
  4. Layer 1, 2 and 3.
  5. "
  6. HOMEPAGE="http://www.mpg123.org/"
  7. SRC_URI="http://sourceforge.net/projects/mpg123/files/mpg123/1.12.1/mpg123-1.12.1.tar.bz2/download"
  8. CHECKSUM_SHA256="f3cfe305832c4a6a56d105ec1b47e7963d5d809cb17447ee93ae2330f2365a72"
  9. REVISION="1"
  10. ARCHITECTURES="x86_gcc2 x86"
  11. SECONDARY_ARCHITECTURES="x86"
  12.  
  13. PROVIDES="
  14.         mpg123$secondaryArchSuffix = $portVersion
  15.         lib:libmpg123$secondaryArchSuffix
  16.         cmd:mpg123$secondaryArchSuffix
  17.         "
  18.  
  19. REQUIRES="
  20.         haiku$secondaryArchSuffix >= $haikuVersion
  21.         "
  22.  
  23. BUILD_PREREQUIRES="
  24.         haiku${secondaryArchSuffix}_devel >= $haikuVersion
  25.         cmd:gcc$secondaryArchSuffix
  26.         cmd:ld$secondaryArchSuffix
  27.         cmd:make
  28.         cmd:awk
  29.         cmd:find
  30.         cmd:autoconf
  31.         cmd:libtool
  32.         cmd:aclocal
  33.         cmd:pkg_config
  34.         "
  35.  
  36. PATCHES="mpg123-1.12.1.patch"
  37.  
  38. BUILD()
  39. {
  40.         sed -i "s,AM_CONFIG_HEADER,AC_CONFIG_HEADERS," configure.ac
  41.         libtoolize --force --copy --install
  42.         autoreconf --force --install
  43.         LDFLAGS="-lnetwork" runConfigure ./configure --disable-aligncheck
  44.         make $jobArgs
  45. }
  46.  
  47. INSTALL()
  48. {
  49.         make install
  50.         prepareInstalledDevelLib libmpg123
  51.         packageEntries devel $developDir
  52. }
  53.  
  54. PROVIDES_devel="
  55.         mpg123$secondaryArchSuffix = $portVersion
  56.         devel:libmpg123$secondaryArchSuffix
  57.         "
  58.  
  59. REQUIRES_devel="
  60.         haiku$secondaryArchSuffix >= $haikuVersion
  61.         mpg123$secondaryArchSuffix == $portVersion base
  62.         "
  63.  
  64.  
  65. LICENSE="GNU LGPL v2.1"
  66. COPYRIGHT="1995-2009 Michael Hipp and others"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top