1
0

Makefile 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= mplayer
  7. PKG_VERSION:= 1.0rc2
  8. PKG_RELEASE:= 2
  9. PKG_MD5SUM:= 7e27e535c2d267637df34898f1b91707
  10. DISTFILES:= MPlayer-${PKG_VERSION}.tar.bz2
  11. MASTER_SITES:= http://www7.mplayerhq.hu/MPlayer/releases/
  12. WRKDIST= ${WRKDIR}/MPlayer-${PKG_VERSION}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,MPLAYER,mplayer,${PKG_VERSION}-${PKG_RELEASE}))
  15. BUILD_STYLE:= auto
  16. INSTALL_STYLE:= auto
  17. pre-configure:
  18. (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
  19. ./configure \
  20. --prefix=/usr \
  21. --confdir=/etc \
  22. --enable-cross-compile \
  23. --target=$(REAL_GNU_TARGET_NAME) \
  24. --cc=$(TARGET_CC) \
  25. --host-cc=$(HOSTCC) \
  26. --with-extraincdir=$(STAGING_DIR)/usr/include \
  27. --with-extralibdir=$(STAGING_DIR)/usr/lib \
  28. --disable-ssse3 \
  29. --disable-sse2 \
  30. --disable-sse \
  31. --enable-mmxext \
  32. --enable-3dnowext \
  33. --enable-mmx \
  34. --enable-3dnow \
  35. --disable-mencoder \
  36. --enable-fbdev \
  37. --enable-alsa \
  38. --enable-mad \
  39. --enable-faad-external \
  40. --disable-faad-internal \
  41. --enable-libvorbis \
  42. --disable-ossaudio \
  43. --disable-vm \
  44. --disable-iconv \
  45. --disable-lirc \
  46. --disable-radio-v4l2 \
  47. --disable-faac \
  48. --disable-libdv \
  49. --disable-live \
  50. --disable-pvr \
  51. --disable-ftp \
  52. --disable-v4l2 \
  53. --disable-ivtv \
  54. --enable-vidix-internal \
  55. --disable-dvdread-internal \
  56. --disable-libdvdcss-internal \
  57. --disable-freetype \
  58. --disable-tremor-internal \
  59. --disable-arts \
  60. --disable-esd \
  61. --disable-polyp \
  62. --disable-jack \
  63. --disable-openal \
  64. --disable-nas \
  65. --disable-sgiaudio \
  66. --disable-sunaudio \
  67. --disable-win32waveout \
  68. --disable-tga \
  69. --disable-pnm \
  70. --disable-md5sum \
  71. --disable-x11 \
  72. );
  73. post-install:
  74. ${INSTALL_DIR} ${IDIR_MPLAYER}/usr/bin
  75. ${CP} ${WRKINST}/usr/bin/mplayer ${IDIR_MPLAYER}/usr/bin
  76. include ${TOPDIR}/mk/pkg-bottom.mk