You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
319 B

5 years ago
all: uninstall build install
5 years ago
install:
cp -f libsrng.so /usr/local/lib/libsrng.so
ln -sf /usr/local/lib/libsrng.so /usr/lib/libsrng.so
uninstall:
rm -f /usr/local/lib/libsrng.so
5 years ago
rm -f /usr/lib/libsrng.so
5 years ago
build:
cd libsrng && cargo build --release
cp libsrng/target/release/libsrng.so ./
gpg --sign libsrng.so