mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 23:59:42 +02:00
mplayer: install config from withing mplayer package
This commit is contained in:
parent
d69ac0f856
commit
773c2448fa
@ -163,11 +163,17 @@ 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)/input.conf $(FILES_DIR)/config \
|
||||||
$(1)/usr/share/mplayer
|
$(1)/usr/share/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