Add libsamsung-ipc (#522)
This commit is contained in:
parent
d548cc3d52
commit
8adead76ed
1 changed files with 26 additions and 0 deletions
26
main/libsamsung-ipc/APKBUILD
Normal file
26
main/libsamsung-ipc/APKBUILD
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
pkgname=libsamsung-ipc
|
||||||
|
pkgver=6.0-0002
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Implementation of Samsung modem protocol"
|
||||||
|
url="https://redmine.replicant.us/projects/replicant/wiki/Libsamsung-ipc"
|
||||||
|
arch="all"
|
||||||
|
license="GPLv2"
|
||||||
|
depends=""
|
||||||
|
makedepends="autoconf automake libtool openssl-dev linux-headers"
|
||||||
|
subpackages=""
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://git.replicant.us/replicant/external_libsamsung-ipc/snapshot/external_libsamsung-ipc-replicant-${pkgver}.tar.gz"
|
||||||
|
options="!check"
|
||||||
|
|
||||||
|
builddir="$srcdir"/external_libsamsung-ipc-replicant-$pkgver
|
||||||
|
build() {
|
||||||
|
cd "$builddir"
|
||||||
|
./autogen.sh CFLAGS=-Dloff_t=off_t --prefix=/usr --sysconfdir=/etc
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$builddir"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="59974fda58914829a221ecf8ce5bec5ec1e76ef1dba95d86942b224b41d3e41e542c3214be43ba31dd93304ed4aa8135892ea364dd1aa4aa42217cf20507db14 libsamsung-ipc-6.0-0002.tar.gz"
|
Loading…
Reference in a new issue