RFLink: Inital commit
This commit is contained in:
33
rflink/APKBUILD
Normal file
33
rflink/APKBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
# Maintainer: Bram Prieshof <bram@bprieshof.nl>
|
||||
pkgname=rflink
|
||||
pkgver=20211210
|
||||
pkgrel=0
|
||||
pkgdesc="RFLink for raspberry pi"
|
||||
url="https://github.com/seahu/rflink"
|
||||
arch="aarch64 armhf armv7"
|
||||
license="RFLINK GATEWAY LICENSE v1.0"
|
||||
depends="g++ wiringpi"
|
||||
makedepends="git g++ wiringpi-dev"
|
||||
options=" !check !archcheck"
|
||||
|
||||
source="rflink.conf
|
||||
rflink.initd
|
||||
"
|
||||
|
||||
build() {
|
||||
git clone https://github.com/seahu/rflink "$srcdir"/rflinkGIT
|
||||
cd "$srcdir"/rflinkGIT/RPi_rflink
|
||||
make clean
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "$srcdir"/rflinkGIT/RPi_rflink/RFlink "$pkgdir"/usr/sbin/rflink
|
||||
install -Dm755 "$srcdir"/rflink.initd "$pkgdir"/etc/init.d/rflink
|
||||
install -Dm644 "$srcdir"/rflink.conf "$pkgdir"/etc/rflink.conf
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a151492b9a55c3d905384f619359931e64bd57c418dac6dc5348228b8f74d4ab94b8f0f170e21d50bb4c2d25c48b41fba24ec9da1adfd433d37018a2d122cb41 rflink.conf
|
||||
89c658255cc7f932fef3a96edcced6177feb0c62a94b3efa3dce67e3f732ee545bfd983e5cb4e7994f3dd0a2587ae6734699276b3b731920ba300f7c36b71eaf rflink.initd
|
||||
"
|
||||
Reference in New Issue
Block a user