summaryrefslogtreecommitdiff
path: root/package/libsquish
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-24 05:20:20 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-24 05:26:59 -0500
commitda366ca3f603a4aa435a25bc8568c33b32b960fc (patch)
tree3a869d7749435e1f20f0575348c94830dffcdc19 /package/libsquish
parent97dbbe0a028fd734618ef1a80ccdf39c6488772f (diff)
update kodi to latest git version, add necessary packages
Diffstat (limited to 'package/libsquish')
-rw-r--r--package/libsquish/Makefile25
-rw-r--r--package/libsquish/patches/patch-Makefile10
2 files changed, 35 insertions, 0 deletions
diff --git a/package/libsquish/Makefile b/package/libsquish/Makefile
new file mode 100644
index 000000000..5ce5e6fcd
--- /dev/null
+++ b/package/libsquish/Makefile
@@ -0,0 +1,25 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libsquish
+PKG_VERSION:= 1.10
+PKG_RELEASE:= 1
+PKG_HASH:= a0118a79d927058b656e94dc4ffce5da37839962e4952be1fedbbdd901b42848
+PKG_DESCR:= c++ compression library
+PKG_SECTION:= libs/misc
+PKG_SITES:= http://sources.openelec.tv/devel/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-openelec.tar.gz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-$(PKG_VERSION)-openelec
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBSQUISH,libsquish,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= manual
+XAKE_FLAGS+= INSTALL_DIR="${WRKINST}/usr"
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/libsquish/patches/patch-Makefile b/package/libsquish/patches/patch-Makefile
new file mode 100644
index 000000000..702db40f5
--- /dev/null
+++ b/package/libsquish/patches/patch-Makefile
@@ -0,0 +1,10 @@
+--- libsquish-1.10-openelec.orig/Makefile 2015-01-09 09:52:04.000000000 -0600
++++ libsquish-1.10-openelec/Makefile 2015-05-22 16:32:55.398921290 -0500
+@@ -10,6 +10,7 @@ LIB = libsquish.a
+ all : $(LIB) squish.pc
+
+ install : $(LIB) squish.pc
++ mkdir -p $(INSTALL_DIR)/include $(INSTALL_DIR)/lib/pkgconfig
+ install squish.h $(INSTALL_DIR)/include
+ install libsquish.a $(INSTALL_DIR)/lib
+ install squish.pc $(INSTALL_DIR)/lib/pkgconfig