aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-others/fdupes/fdupes.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-application-manager/recipes-others/fdupes/fdupes.inc')
-rw-r--r--meta-application-manager/recipes-others/fdupes/fdupes.inc84
1 files changed, 84 insertions, 0 deletions
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
+