xxHash: add devel and library subpackages
This commit is contained in:
parent
db6049b25a
commit
09436b7275
4 changed files with 22 additions and 6 deletions
|
@ -3169,6 +3169,7 @@ libwayland-egl++.so.0.2 libwaylandpp-2.2.0_1
|
|||
libwayland-client++.so.0.2 libwaylandpp-2.2.0_1
|
||||
libwayland-cursor++.so.0.2 libwaylandpp-2.2.0_1
|
||||
libwayland-client-extra++.so.0.2 libwaylandpp-2.2.0_1
|
||||
libxxhash.so.0 libxxHash-0.6.5_2
|
||||
libfwup.so.1 libfwup-11_1
|
||||
libcapnp_c.so.0 c-capnproto-0.3_1
|
||||
libTKBin.so.7 occt-7.2.0p1_1
|
||||
|
|
1
srcpkgs/libxxHash
Symbolic link
1
srcpkgs/libxxHash
Symbolic link
|
@ -0,0 +1 @@
|
|||
xxHash
|
1
srcpkgs/xxHash-devel
Symbolic link
1
srcpkgs/xxHash-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
xxHash
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xxHash'
|
||||
pkgname=xxHash
|
||||
version=0.6.5
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
short_desc="Fast non-cryptographic hashing algorithm"
|
||||
maintainer="Evan Deaubl <evan@deaubl.name>"
|
||||
|
@ -11,10 +11,23 @@ distfiles="https://github.com/Cyan4973/${pkgname}/archive/v${version}.tar.gz>xxh
|
|||
checksum=19030315f4fc1b4b2cdb9d7a317069a109f90e39d1fe4c9159b7aaa39030eb95
|
||||
make_check_target="test"
|
||||
|
||||
do_install() {
|
||||
vbin xxhsum
|
||||
ln -s xxhsum ${DESTDIR}/usr/bin/xxh32sum
|
||||
ln -s xxhsum ${DESTDIR}/usr/bin/xxh64sum
|
||||
vman xxhsum.1
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
libxxHash_package() {
|
||||
short_desc+=" - library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
xxHash-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="libxxHash>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
vmove "usr/lib/*.a"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue