VERSION := 0.0.1
PACKAGE = $(PROJECT)-$(VERSION)
-ARCHIVE = $(PACKAGE).tar.bz2
-INSTALL_DIR = ${DESTDIR}/usr/share/$(PROJECT)
-DESKTOP_DIR = ${DESTDIR}/usr/share/applications
-ICON_DIR = ${DESTDIR}/usr/share/pixmaps
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
all:
@echo "Nothing to build"
+wgtPkg:
+ zip -r $(PROJECT).wgt js images css index.html manifest.json config.xml MediaPlayer.png
+
install:
+ @echo "Installing MediaPlayer, stand by..."
mkdir -p $(INSTALL_DIR)/
- cp -a $(INSTALL_FILES) $(INSTALL_DIR)/
- mkdir -p $(DESKTOP_DIR)/
- cp $(PROJECT).desktop $(DESKTOP_DIR)/
- mkdir -p $(ICON_DIR)/
- cp MediaPlayer.png $(ICON_DIR)/$(PROJECT).png
+ cp $(PROJECT).wgt $(INSTALL_DIR)/
dist:
tar czf ../$(PACKAGE).tar.bz2 .