diff options
Diffstat (limited to 'meta-application-manager/recipes-others/fdupes')
3 files changed, 94 insertions, 0 deletions
diff --git a/meta-application-manager/recipes-others/fdupes/fdupes-extraconf.inc b/meta-application-manager/recipes-others/fdupes/fdupes-extraconf.inc new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/meta-application-manager/recipes-others/fdupes/fdupes-extraconf.inc diff --git a/meta-application-manager/recipes-others/fdupes/fdupes.inc b/meta-application-manager/recipes-others/fdupes/fdupes.inc new file mode 100644 index 0000000..35de095 --- /dev/null +++ b/meta-application-manager/recipes-others/fdupes/fdupes.inc @@ -0,0 +1,84 @@ +DESCRIPTION = "Identifying or deleting duplicate files" +HOMEPAGE = "http://premium.caribe.net/~adrian2/fdupes.html" +SECTION = "Base/Compression" +LICENSE = "MIT" +PV = "1.40" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by fdupes + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/fdupes.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + make + + + +} + +do_install() { + export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + install -D -m755 fdupes ${D}${prefix}/bin/fdupes + install -D -m644 fdupes.1 ${D}${mandir}/man1/fdupes.1 + install -D -m644 ${S}/packaging/macros.fdupes ${D}${sysconfdir}/rpm/macros.fdupes + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " fdupes " + +fdupes_files = "" +fdupes_files += "CHANGES" +fdupes_files += "${prefix}/bin/fdupes" +fdupes_files += "${mandir}/*/*" +fdupes_files += "${sysconfdir}/rpm" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/rpm" +MANIFESTFILES_${PN} = "fdupes.manifest" + +FILES_${PN} = "${fdupes_files}" + +PKG_fdupes= "fdupes" + +require fdupes-extraconf.inc + diff --git a/meta-application-manager/recipes-others/fdupes/fdupes_git.bb b/meta-application-manager/recipes-others/fdupes/fdupes_git.bb new file mode 100644 index 0000000..800f686 --- /dev/null +++ b/meta-application-manager/recipes-others/fdupes/fdupes_git.bb @@ -0,0 +1,10 @@ +require fdupes.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/fdupes;tag=796ff677d7ed1bdd2fb8d3b48572dba6a8e111f6;nobranch=1" + +BBCLASSEXTEND += " native " + |