Add ultradefrag utility
This commit is contained in:
parent
2b88f7bcb2
commit
bb4a445423
|
@ -0,0 +1,3 @@
|
||||||
|
AUX ultradefrag.patch 978 SHA256 ba620dee40298031abede75159cd8591985d80dde41d4fd94520380f6de5e0e7 SHA512 4946e86fd7b9c055332ccf76a968c0ca7d5f0a99b109229dd31817112747dd2d035d1f2144066726d0f4d53993148d41ddb5e38df6147523270997f08f0d80c4 WHIRLPOOL 6846c605fb831fa0388b61e916db28571daff4559f8ddfb4889bb8a30265f6f5dd91206d0e39effd0aea24c748fd86ebc8f0e1abc8d11f9a16ccf57d1194dfe6
|
||||||
|
DIST ultradefrag-5.0.0AB.7.zip 7700269 SHA256 4d7dcb27ffc5bb913b464cd3b090c9651fe0d1e5b66363707428e3a4d099ca73 SHA512 568cdb101e7cdde72091a7ebd887d745841487761ac3386d04f348cc2ebd5ee40bad795525ec18517bf4c1e0d047ce5d37d72fabd5a4256c61de562a20cfd68a WHIRLPOOL 0cff63689c75fcc79307c6e818c6eb6d5f53cc27ab522bd65ee5759bd79feb9476d9a35d78fca571446d9871fe0fd1f378d932e3d167826b0d78e8396841a447
|
||||||
|
EBUILD ultradefrag-5.0.0-r7.ebuild 1822 SHA256 e648fefd0e467fcf4345a39ffd17bab42e79926b2fa67d4f0d50d2c8fe96cc8d SHA512 e4632a2cffd61393784d7c3f9e68bc01304c13823687c678baba42c475de6789d21207ac01648b40cfbdc53f3c34525f447cdd2ea59e3655f55463c0f6ab73fb WHIRLPOOL 535d8fd7e2f3e21d3526e367255b491eb7241e40c4fc3d6f9c7215cbf904b627e71865aeb1d84a1082fd2a5585d99284ab2b4e08ec414ef3216453b93a9dd4aa
|
|
@ -0,0 +1,25 @@
|
||||||
|
diff -urN ultradefrag-5.0.0AB.7.def/src/Makefile ultradefrag-5.0.0AB.7/src/Makefile
|
||||||
|
--- ultradefrag-5.0.0AB.7.def/src/Makefile 2011-11-24 14:57:55.000000000 +0400
|
||||||
|
+++ ultradefrag-5.0.0AB.7/src/Makefile 2016-01-26 19:44:23.334197713 +0300
|
||||||
|
@@ -24,8 +24,8 @@
|
||||||
|
COPT=-DPPGC=1 -O2
|
||||||
|
GCCOPT=-DPPGC=1 -O2
|
||||||
|
LIB1=/usr/lib64
|
||||||
|
-LIB2=/usr/lib/gcc/x86_64-redhat-linux/4.6.0
|
||||||
|
-NTFSLIB=/lib64/libntfs-3g.so.*.0.0
|
||||||
|
+LIB2=`dirname \`gcc -print-libgcc-file-name\``
|
||||||
|
+NTFSLIB=/usr/lib64/libntfs-3g.so.*.0.0
|
||||||
|
|
||||||
|
A=console.a udefrag.a zenwinx.a wincalls.a
|
||||||
|
|
||||||
|
diff -urN ultradefrag-5.0.0AB.7.def/src/wincalls/ntfs-3g.c ultradefrag-5.0.0AB.7/src/wincalls/ntfs-3g.c
|
||||||
|
--- ultradefrag-5.0.0AB.7.def/src/wincalls/ntfs-3g.c 2011-11-26 17:56:37.000000000 +0400
|
||||||
|
+++ ultradefrag-5.0.0AB.7/src/wincalls/ntfs-3g.c 2016-01-26 19:31:50.436847655 +0300
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#if LXSC | L8SC | STSC | SPGC | PPGC
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
+#include <linux/fs.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
|
@ -0,0 +1,31 @@
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
VERSION="5.0.0AB.7"
|
||||||
|
DESCRIPTION="Linux port of windows defragmenter utility"
|
||||||
|
HOMEPAGE="http://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html"
|
||||||
|
SRC_URI="http://jp-andre.pagesperso-orange.fr/ultradefrag-${VERSION}.zip"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${VERSION}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="sys-fs/ntfs3g"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${PN}.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd src
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dosbin src/udefrag
|
||||||
|
}
|
Loading…
Reference in New Issue