* update libwlocate to 1:0.1-4
This commit is contained in:
parent
6f3940acff
commit
d289828540
15
libwlocate/.SRCINFO
Normal file
15
libwlocate/.SRCINFO
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
pkgbase = libwlocate
|
||||||
|
pkgdesc = A shared library that can be used for location-based services
|
||||||
|
pkgver = 0.1
|
||||||
|
pkgrel = 4
|
||||||
|
epoch = 1
|
||||||
|
url = https://sourceforge.net/projects/libwlocate
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL-3.0-or-later
|
||||||
|
makedepends = git
|
||||||
|
depends = glibc
|
||||||
|
depends = wireless_tools
|
||||||
|
source = git+https://github.com/openwifi-su/lwlocate#tag=v0.1
|
||||||
|
sha256sums = f4022b1dfcaf7c9a4cc54a913c6246a6f08e1646b71416ffa4794d6a56479f2c
|
||||||
|
|
||||||
|
pkgname = libwlocate
|
4
libwlocate/.nvchecker.toml
Normal file
4
libwlocate/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[libwlocate]
|
||||||
|
source = "git"
|
||||||
|
git = "https://github.com/openwifi-su/lwlocate.git"
|
||||||
|
prefix = "v"
|
@ -5,24 +5,33 @@
|
|||||||
|
|
||||||
pkgname=libwlocate
|
pkgname=libwlocate
|
||||||
pkgver=0.1
|
pkgver=0.1
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="A shared library that can be used for location-based services"
|
pkgdesc='A shared library that can be used for location-based services'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url="https://sourceforge.net/projects/libwlocate"
|
url='https://sourceforge.net/projects/libwlocate'
|
||||||
license=(GPL)
|
license=(GPL-3.0-or-later)
|
||||||
depends=(wireless_tools glibc)
|
depends=(glibc
|
||||||
source=($pkgname-$pkgver.tar.gz::"https://github.com/openwifi-su/lwlocate/archive/v$pkgver.tar.gz")
|
wireless_tools)
|
||||||
sha256sums=('791899f4890fa88553b4e8417376187d7d533ead962f5fe51f598b6ed9a2c258')
|
makedepends=(git)
|
||||||
|
source=(git+https://github.com/openwifi-su/lwlocate#tag=v$pkgver)
|
||||||
|
sha256sums=('f4022b1dfcaf7c9a4cc54a913c6246a6f08e1646b71416ffa4794d6a56479f2c')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd lwlocate/master
|
||||||
|
# Honor system CFLAGS
|
||||||
|
sed -e "s|^DBGFLAGS.*|DBGFLAGS = ${CFLAGS}|" -i Makelib -i Makefile
|
||||||
|
sed -e "s|LDFLAGS = |LDFLAGS = ${LDFLAGS} |" -i Makefile
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd lwlocate-$pkgver/master
|
cd lwlocate/master
|
||||||
make -f Makelib
|
make -f Makelib
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd lwlocate-$pkgver/master
|
cd lwlocate/master
|
||||||
install -Dm644 libwlocate.so "$pkgdir"/usr/lib/libwlocate.so
|
install -Dm644 libwlocate.so "$pkgdir"/usr/lib/libwlocate.so
|
||||||
install -Dm644 libwlocate.h "$pkgdir"/usr/include/libwlocate.h
|
install -Dm644 libwlocate.h "$pkgdir"/usr/include/libwlocate.h
|
||||||
install -Dm755 lwtrace "$pkgdir"/usr/bin/lwtrace
|
install -Dm755 lwtrace "$pkgdir"/usr/bin/lwtrace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user