2017-09-12 15:37:30 +00:00
|
|
|
pkgname=libsamsung-ipc
|
2022-09-23 07:17:56 +00:00
|
|
|
pkgver=6.0.0004
|
|
|
|
pkgrel=0
|
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"
|
2020-05-20 17:41:30 +00:00
|
|
|
license="GPL-2.0-or-later"
|
2018-12-21 18:11:53 +00:00
|
|
|
makedepends="autoconf automake libtool openssl-dev linux-headers"
|
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-/')"
|
2020-05-20 17:41:30 +00:00
|
|
|
source="$pkgname-$_pkgver.tar.gz::https://git.replicant.us/replicant/hardware_replicant_libsamsung-ipc/snapshot/replicant-$_pkgver.tar.gz
|
2017-09-14 18:18:12 +00:00
|
|
|
0001-i9100-modem-firmware-device-path.patch
|
2022-09-23 07:17:56 +00:00
|
|
|
0002-runtime-device-overrides.patch
|
2020-05-20 17:41:30 +00:00
|
|
|
"
|
|
|
|
options="!check" # No tests
|
2017-09-12 15:37:30 +00:00
|
|
|
|
2020-05-20 06:40:13 +00:00
|
|
|
builddir="$srcdir"/replicant-$_pkgver
|
2017-09-12 15:37:30 +00:00
|
|
|
build() {
|
2022-09-23 07:17:56 +00:00
|
|
|
./autogen.sh
|
|
|
|
./configure CFLAGS=-Dloff_t=off_t --prefix=/usr --sysconfdir=/etc
|
2017-09-12 15:37:30 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2022-09-23 07:17:56 +00:00
|
|
|
sha512sums="
|
|
|
|
37725ffac1e44396e29da12dcb47313bfacddd6df89cb514a34412def788e1716a961ddb8e9b0923d722f7e6c4455a534156099f0dd6d2d0c414a5d57415585c libsamsung-ipc-6.0-0004.tar.gz
|
|
|
|
8751a815c8749e1c098b0231e064fcc475703f0d22125acdd0156bbe9d8cf8859158c5a5ca79f305292ed312694070f62b5c54d70ca4a4a713b5405f173ee1cf 0001-i9100-modem-firmware-device-path.patch
|
|
|
|
4309b407d8ac5773a2e37573618a548116adeb5aa40233d52f2afc9f5f24f61684e72c72be6476f245f70e58d163211e4d31931bb95dc4f4cfcafa4dba693d8b 0002-runtime-device-overrides.patch
|
|
|
|
"
|