Commit 57ba2ae2 authored by Pedro Filipe's avatar Pedro Filipe Committed by Natanael Copa

main/gsm: upgrade to 1.0.18

parent 709480b8
# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gsm pkgname=gsm
pkgver=1.0.17 pkgver=1.0.18
pkgrel=0 pkgrel=0
_soname=1.0.12 _soname=1.0.12
pkgdesc="Shared libraries for GSM speech compressor" pkgdesc="Shared libraries for GSM speech compressor"
url="http://www.quut.com/gsm/" url="http://www.quut.com/gsm/"
arch="all" arch="all"
options="!check" # No test data included in this release.
license="custom:TU-Berlin-2.0" license="custom:TU-Berlin-2.0"
depends=
depends_dev=
makedepends="$depends_dev" makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://www.quut.com/gsm/gsm-$pkgver.tar.gz source="http://www.quut.com/gsm/gsm-$pkgver.tar.gz
gsm-64bit.patch gsm-64bit.patch
...@@ -20,12 +16,18 @@ source="http://www.quut.com/gsm/gsm-$pkgver.tar.gz ...@@ -20,12 +16,18 @@ source="http://www.quut.com/gsm/gsm-$pkgver.tar.gz
" "
builddir="$srcdir"/gsm-${pkgver%.*}-pl${pkgver##*.} builddir="$srcdir"/gsm-${pkgver%.*}-pl${pkgver##*.}
build() { build() {
cd "$builddir" cd "$builddir"
export RPM_OPT_FLAGS="$CFLAGS -fPIC" export RPM_OPT_FLAGS="$CFLAGS -fPIC"
make all make all
} }
check() {
cd "$builddir"
make addtst
}
package() { package() {
cd "$builddir" cd "$builddir"
mkdir -p "$pkgdir"/usr/bin \ mkdir -p "$pkgdir"/usr/bin \
...@@ -52,6 +54,6 @@ tools() { ...@@ -52,6 +54,6 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr
} }
sha512sums="983b442a1ee3f8bce0523f671071823598c4edb222f8d3de1ad7997c85cbeb7bc49ee87130e12f0f815266a29ad2ef58e59672e81bf41cdadc292baf66942026 gsm-1.0.17.tar.gz sha512sums="c5b597f68d4a270e1d588f480dcde66fda8302564c687d753f2bd4fc41d246109243e567568da61eddce170f5232d869984743ddf1eea7696d673014a1a453b7 gsm-1.0.18.tar.gz
5b01f6d2fd3ee7cd859da70870463e2ccc6614c5fb1bd5efc88a223a0c5477271221557fef13ba46697e70cc5820c13efff738413f8990d5884b95cc89c30152 gsm-64bit.patch 5b01f6d2fd3ee7cd859da70870463e2ccc6614c5fb1bd5efc88a223a0c5477271221557fef13ba46697e70cc5820c13efff738413f8990d5884b95cc89c30152 gsm-64bit.patch
1d92b7eacf52e5281c9f1a0f08313d10f15c35d22fb2292e5a885ceb3cb766557a5e3a08954db75fb13db59345ef9f6b08939881ba38c9d384e09a1c96b47bc5 gsm-makefile.patch" 1d92b7eacf52e5281c9f1a0f08313d10f15c35d22fb2292e5a885ceb3cb766557a5e3a08954db75fb13db59345ef9f6b08939881ba38c9d384e09a1c96b47bc5 gsm-makefile.patch"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment