2010-09-18 18:29:07 +02:00
|
|
|
{ stdenv, fetchurl, libdvdread }:
|
|
|
|
|
2014-05-18 13:25:43 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2010-09-18 18:29:07 +02:00
|
|
|
name = "lxdvdrip-1.76";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-18 13:25:43 +02:00
|
|
|
url = "mirror://sourceforge/lxdvdrip/${name}.tgz";
|
2010-09-18 18:29:07 +02:00
|
|
|
sha256 = "0vgslc7dapfrbgslnaicc8bggdccyrvcgjv1dwi19qswhh7jkzj6";
|
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
sed -i -e s,/usr/local,$out, -e s,/etc,$out/etc,g Makefile
|
|
|
|
sed -i -e s,/usr/local,$out, buffer/Makefile
|
|
|
|
makeFlags="$makeFlags PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/man/man1 $out/bin $out/share $out/etc
|
2010-09-18 18:29:07 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libdvdread ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command line tool to make a copy from a video DVD for private use";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/lxdvdrip";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-18 18:29:07 +02:00
|
|
|
};
|
|
|
|
}
|