diff options
author | Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp> | 2016-07-22 10:32:11 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp> | 2016-07-22 11:01:55 +0900 |
commit | 6fc9f9f085ab68f89ba6b22465fbdfc5411d41ba (patch) | |
tree | 40ee5391beebd06518c674c9ef1858c65026ceb4 /meta-application-manager/recipes-others/fdupes/fdupes.inc | |
parent | 9cf56692db97b90e0fcb795f761430438bd0ad29 (diff) |
First version of ported tizen application manager
Change-Id: I46735869fe8113be58348d575e01734e498d2de2
Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
Diffstat (limited to 'meta-application-manager/recipes-others/fdupes/fdupes.inc')
-rw-r--r-- | meta-application-manager/recipes-others/fdupes/fdupes.inc | 84 |
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 + |