2017-09-12 15:37:30 +00:00
|
|
|
pkgname=libsamsung-ipc
|
2018-01-20 19:28:15 +00:00
|
|
|
pkgver=6.0.0003
|
2018-12-21 18:11:53 +00:00
|
|
|
pkgrel=2
|
2017-09-12 15:37:30 +00:00
|
|
|
pkgdesc="Implementation of Samsung modem protocol"
|
|
|
|
url="https://redmine.replicant.us/projects/replicant/wiki/Libsamsung-ipc"
|
|
|
|
arch="all"
|
|
|
|
license="GPLv2"
|
|
|
|
depends=""
|
2018-12-21 18:11:53 +00:00
|
|
|
makedepends="autoconf automake libtool openssl-dev linux-headers"
|
2017-09-12 15:37:30 +00:00
|
|
|
subpackages=""
|
2018-01-20 19:28:15 +00:00
|
|
|
|
|
|
|
# Replace the last dot with a minus
|
|
|
|
_pkgver="$(echo "$pkgver" | sed 's/\([0-9]*\.[0-9]*\)\.*/\1-/')"
|
2017-09-14 18:18:12 +00:00
|
|
|
source="
|
2017-11-04 02:13:25 +00:00
|
|
|
$pkgname-$_pkgver.tar.gz::https://git.replicant.us/replicant/external_libsamsung-ipc/snapshot/external_libsamsung-ipc-replicant-${_pkgver}.tar.gz
|
2017-09-14 18:18:12 +00:00
|
|
|
0001-i9100-modem-firmware-device-path.patch
|
|
|
|
"
|
2017-09-12 15:37:30 +00:00
|
|
|
options="!check"
|
|
|
|
|
2017-11-04 02:13:25 +00:00
|
|
|
builddir="$srcdir"/external_libsamsung-ipc-replicant-$_pkgver
|
2017-09-12 15:37:30 +00:00
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
|
|
|
./autogen.sh CFLAGS=-Dloff_t=off_t --prefix=/usr --sysconfdir=/etc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2018-01-20 19:28:15 +00:00
|
|
|
sha512sums="4606021a0f3fb4257bc6bb156165f4faa6873c4dff2e5ace37293ae488e6ffa0685e12b64dcf7a96bba014aa110b4bf8e1de73b643b61ca58ca518f6df467da7 libsamsung-ipc-6.0-0003.tar.gz
|
2017-09-14 18:18:12 +00:00
|
|
|
b4a092fca35825d3d20886cb96135d944a4a3fbdb596b925c02c1a294160b7abbe1e5fa9f832816fe35f4a5d6b87546504b67950e17173e145b505e8108d0ccc 0001-i9100-modem-firmware-device-path.patch"
|