diff options
Diffstat (limited to 'package/libsquish')
-rw-r--r-- | package/libsquish/Makefile | 25 | ||||
-rw-r--r-- | package/libsquish/patches/patch-Makefile | 10 |
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 |