aboutsummaryrefslogtreecommitdiff
path: root/nix/libtomcrypt-pkgconfig-makefile.txt
diff options
context:
space:
mode:
authorquapka2024-08-05 18:07:34 +0200
committerquapka2024-08-05 18:07:34 +0200
commitc405d82be596b7b673d96843c1fac9238ce82a9f (patch)
tree967ac0b2fdec5d10003bf103709d4c1626bd2c37 /nix/libtomcrypt-pkgconfig-makefile.txt
parent3fcaa7a9f4d8e3ac41ccbf96c5b3dfe8d5e20831 (diff)
downloadECTester-c405d82be596b7b673d96843c1fac9238ce82a9f.tar.gz
ECTester-c405d82be596b7b673d96843c1fac9238ce82a9f.tar.zst
ECTester-c405d82be596b7b673d96843c1fac9238ce82a9f.zip
Build various version of libtomcrypt
Diffstat (limited to 'nix/libtomcrypt-pkgconfig-makefile.txt')
-rw-r--r--nix/libtomcrypt-pkgconfig-makefile.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/nix/libtomcrypt-pkgconfig-makefile.txt b/nix/libtomcrypt-pkgconfig-makefile.txt
new file mode 100644
index 0000000..9f54c85
--- /dev/null
+++ b/nix/libtomcrypt-pkgconfig-makefile.txt
@@ -0,0 +1,5 @@
+
+pkgconfig-patch:
+ sed -e 's,^prefix=.*,prefix=$(PREFIX),' -e 's,^Version:.*,Version: $(VERSION_PC),' libtomcrypt.pc.in > libtomcrypt.pc
+ install -p -d $(DESTDIR)$(LIBPATH)/pkgconfig
+ install -p -m 644 libtomcrypt.pc $(DESTDIR)$(LIBPATH)/pkgconfig/