require squashfs-tools_${PV}.bb
-PR = "r0"
+PR = "${INC_PR}.1"
inherit native
require squashfs-tools_${PV}.bb
-PR = "r0"
+PR = "${INC_PR}.1"
inherit native
DESCRIPTION = "Squashfs is a highly compressed read-only filesystem for Linux."
SECTION = "base"
LICENSE = "GPLv2"
-
DEPENDS = "zlib"
+INC_PR = "r1"
S = "${WORKDIR}/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}/squashfs-tools"
+# required to share same place with -lzma specific packages
+FILESPATHPKG = "squashfs-tools-${PV}:squashfs-tools:files"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tar.gz"
+
prefix = ""
do_compile() {
require squashfs-tools.inc
-PR = "r0"
-
-# some release have .tgz, some have .tar.gz, so keep that outside the .inc file
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tgz \
-file://Makefile.patch;patch=1"
+PR = "${INC_PR}.1"
+SRC_URI += " file://Makefile.patch;patch=1"
require squashfs-tools.inc
-PR = "r0"
+PR = "${INC_PR}.1"
DEFAULT_PREFERENCE = "-1"
-
-# some release have .tgz, some have .tar.gz, so keep that outside the .inc file
-
-#http://ovh.dl.sourceforge.net/sourceforge/squashfs/squashfs4.0.tar.gz
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tar.gz \
-file://Makefile.patch;patch=1"
-
+SRC_URI += " file://Makefile.patch;patch=1"