pmaports/main/libsamsung-ipc/APKBUILD
Oliver Smith f5759c1e06 Gracefully handle packages breaking because of soname bumps (#1116)
Fixes #893. Changes:
* New action: "pmbootstrap pkgrel_bump"
* pmbootstrap detects missing soname depends when trying to install
  anyting, and suggests "pkgrel_bump --auto" to fix it
* Testcase test_soname_bump.py checks the pmOS binary package repo
  for soname breakage, so we see it when CI runs for new PRs
* libsamsung-ipc: bump pkgrel because of soname bump
2018-01-14 01:26:42 +00:00

31 lines
1.1 KiB
Text

pkgname=libsamsung-ipc
pkgver=6.0_0002
_pkgver=${pkgver/_/-}
pkgrel=2
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 libressl-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
0001-i9100-modem-firmware-device-path.patch
"
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
b4a092fca35825d3d20886cb96135d944a4a3fbdb596b925c02c1a294160b7abbe1e5fa9f832816fe35f4a5d6b87546504b67950e17173e145b505e8108d0ccc 0001-i9100-modem-firmware-device-path.patch"