mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
rhash: fix endian detection on musl.
This commit is contained in:
parent
9aaaa0782d
commit
2569e2382b
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rhash'
|
# Template file for 'rhash'
|
||||||
pkgname=rhash
|
pkgname=rhash
|
||||||
version=1.3.3
|
version=1.3.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="RHash-${version}"
|
wrksrc="RHash-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
conf_files="/etc/rhashrc"
|
conf_files="/etc/rhashrc"
|
||||||
|
@ -12,6 +12,10 @@ homepage="https://github.com/rhash/RHash"
|
||||||
distfiles="https://github.com/rhash/RHash/archive/v${version}.tar.gz"
|
distfiles="https://github.com/rhash/RHash/archive/v${version}.tar.gz"
|
||||||
checksum=60272e1955a9655308ebe64b1240d76906a7ea8fab81baaab706560fc4251838
|
checksum=60272e1955a9655308ebe64b1240d76906a7ea8fab81baaab706560fc4251838
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's/__GLIBC__/__linux__/' librhash/byte_order.h
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue