libstrangle: 0.1.1 -> unstable-202202022
This commit is contained in:
parent
b263bfb91c
commit
922b173bf3
@ -2,20 +2,22 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libstrangle";
|
||||
version = "0.1.1";
|
||||
version = "unstable-202202022";
|
||||
|
||||
buildInputs = [ libGL libX11 ];
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "torkel104";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "135icr544w5ynlxfnxqgjn794bsm9i703rh9jfnracjb7jgnha4w";
|
||||
rev = "0273e318e3b0cc759155db8729ad74266b74cb9b";
|
||||
sha256 = "sha256-h10QA7m7hIQHq1g/vCYuZsFR2NVbtWBB46V6OWP5wgM=";
|
||||
};
|
||||
|
||||
makeFlags = [ "prefix=" "DESTDIR=$(out)" ];
|
||||
|
||||
patches = [ ./nixos.patch ];
|
||||
patches = [
|
||||
./nixos.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteAllInPlace src/strangle.sh
|
||||
|
@ -7,7 +7,7 @@ diff --git a/makefile b/makefile
|
||||
|
||||
-install-ld: ld
|
||||
- install -m 0644 -D -T $(BUILDDIR)/libstrangle.conf $(DESTDIR)/etc/ld.so.conf.d/libstrangle.conf
|
||||
- ldconfig
|
||||
- if [ -z "$(DESTDIR)" ]; then ldconfig; fi
|
||||
-
|
||||
install-32: 32-bit
|
||||
install -m 0755 -D -T $(BUILDDIR)/libstrangle32.so $(DESTDIR)$(LIB32_PATH)/libstrangle.so
|
||||
|
Loading…
Reference in New Issue
Block a user