mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 23:34:04 +02:00
mplayer: install config to /etc/mplayer/mplayer.config (renamed files/config)
This commit is contained in:
parent
781599fc4a
commit
4ce8eb4b47
@ -71,7 +71,7 @@ CONFIGURE_ARGS := --target=mips \
|
|||||||
--extra-ldflags="$(ICONV_LDFLAGS)" \
|
--extra-ldflags="$(ICONV_LDFLAGS)" \
|
||||||
--host-cc=gcc \
|
--host-cc=gcc \
|
||||||
--enable-fbdev \
|
--enable-fbdev \
|
||||||
--confdir=/usr/share/mplayer \
|
--confdir=/etc/mplayer \
|
||||||
--enable-menu \
|
--enable-menu \
|
||||||
--disable-x11 \
|
--disable-x11 \
|
||||||
--disable-xv \
|
--disable-xv \
|
||||||
@ -163,17 +163,12 @@ define Package/MPlayer/install
|
|||||||
$(PKG_BUILD_DIR)/mplayer \
|
$(PKG_BUILD_DIR)/mplayer \
|
||||||
$(1)/usr/bin/mplayer
|
$(1)/usr/bin/mplayer
|
||||||
$(INSTALL_DATA) \
|
$(INSTALL_DATA) \
|
||||||
$(FILES_DIR)/input.conf $(FILES_DIR)/config \
|
$(FILES_DIR)/input.conf \
|
||||||
$(1)/usr/share/mplayer
|
$(FILES_DIR)/mplayer.conf \
|
||||||
|
$(1)/etc/mplayer/
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/MPlayer/postinst
|
|
||||||
#!/bin/sh
|
|
||||||
mkdir $${IPKG_INSTROOT}/root/.mplayer
|
|
||||||
cp $${IPKG_INSTROOT}/usr/share/mplayer/config $${IPKG_INSTROOT}/root/.mplayer/config
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,MPlayer))
|
$(eval $(call BuildPackage,MPlayer))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user