mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:47:14 +08:00
gsm: 1.0.14
This commit is contained in:
parent
b8868afda6
commit
548191459a
24
gsm/PKGBUILD
24
gsm/PKGBUILD
@ -1,27 +1,27 @@
|
|||||||
#
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/gsm
|
||||||
# Apps Packages for Chakra, part of chakra-project.org
|
|
||||||
#
|
|
||||||
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
||||||
# contributor Neo Kolokotronis <tetris4@gmail.com>
|
|
||||||
|
|
||||||
pkgname=gsm
|
pkgname=gsm
|
||||||
pkgver=1.0.13
|
pkgver=1.0.14
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Shared libraries for GSM 06.10 lossy speech compression"
|
pkgdesc="Shared libraries for GSM 06.10 lossy speech compression"
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.quut.com/gsm/"
|
url="http://www.quut.com/gsm/"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
source=(http://www.quut.com/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
source=(http://www.quut.com/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
||||||
gsm.patch)
|
gsm.patch)
|
||||||
md5sums=('c1ba392ce61dc4aff1c29ea4e92f6df4'
|
md5sums=('4cbb4e7b73842de3d12d30b0d74200d4'
|
||||||
'30f46c92d0a5e5654258e707a9e8b5a6')
|
'30f46c92d0a5e5654258e707a9e8b5a6')
|
||||||
|
|
||||||
|
prepare(){
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver%.*}-pl${pkgver##*.}/"
|
||||||
|
patch -Np0 -i "${srcdir}/${pkgname}.patch"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver%.*}-pl${pkgver##*.}/"
|
cd "${srcdir}/${pkgname}-${pkgver%.*}-pl${pkgver##*.}/"
|
||||||
|
|
||||||
patch -Np0 -i "${srcdir}/${pkgname}.patch"
|
|
||||||
|
|
||||||
# flags for shared lib
|
# flags for shared lib
|
||||||
CFLAGS="${CFLAGS} -fPIC"
|
CFLAGS="${CFLAGS} -fPIC"
|
||||||
make CCFLAGS="-c ${CFLAGS}"
|
make CCFLAGS="-c ${CFLAGS}"
|
||||||
@ -40,5 +40,5 @@ package() {
|
|||||||
install
|
install
|
||||||
|
|
||||||
# Install license
|
# Install license
|
||||||
install -m644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1
|
install -m644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user