summaryrefslogtreecommitdiff
path: root/package/mplayer
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/mplayer
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/mplayer')
-rw-r--r--package/mplayer/Makefile10
-rw-r--r--package/mplayer/ipkg/mplayer.control5
2 files changed, 7 insertions, 8 deletions
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 5dee24517..b3a908e8b 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -9,14 +9,18 @@ PKG_NAME:= mplayer
PKG_VERSION:= 1.0rc2
PKG_RELEASE:= 2
PKG_MD5SUM:= 7e27e535c2d267637df34898f1b91707
-DISTFILES:= MPlayer-${PKG_VERSION}.tar.bz2
-MASTER_SITES:= http://www7.mplayerhq.hu/MPlayer/releases/
+PKG_DESCR:= popular video player
+PKG_SECTION:= video
+PKG_DEPENDS:= zlib libncurses libmad alsa-lib libvorbis libogg libfaad2 libpthread
+PKG_URL:= http://www.mplayerhq.hu
+PKG_SITES:= http://www7.mplayerhq.hu/MPlayer/releases/
+DISTFILES:= MPlayer-${PKG_VERSION}.tar.bz2
WRKDIST= ${WRKDIR}/MPlayer-${PKG_VERSION}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,MPLAYER,mplayer,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,MPLAYER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
diff --git a/package/mplayer/ipkg/mplayer.control b/package/mplayer/ipkg/mplayer.control
deleted file mode 100644
index 80f0ff0d5..000000000
--- a/package/mplayer/ipkg/mplayer.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: mplayer
-Priority: optional
-Section: video
-Depends: zlib, libncurses, libmad, alsa-lib, libvorbis, libogg, libfaad2, libpthread
-Description: popular video player