🔒 Repository is read-only – file editing is disabled.

recipes/utils/gsm/PAGBUILD.yaml main

32 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132
pkgname: gsm
pkgver: '1.0.24'
pkgrel: '1'
pkgdesc: 'GSM 06.10 lossy speech compression library'
url: 'https://www.quut.com/gsm/'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://www.quut.com/${pkgname}/${pkgname}-${pkgver}.tar.gz'
- 'gsm.patch'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-*/
  patch -Np0 -i ../gsm.patch
  CFLAGS="${CFLAGS} -fPIC"
  make CCFLAGS="-c ${CFLAGS}"

  install -m755 -d ${PKGDIR}/usr/{bin,lib,include/gsm,share/{licenses/${pkgname},man/man{1,3}}}

  make -j1 INSTALL_ROOT=${PKGDIR}/usr              \
    GSM_INSTALL_INC=${PKGDIR}/usr/include/gsm      \
    GSM_INSTALL_MAN=${PKGDIR}/usr/share/man/man3   \
    TOAST_INSTALL_MAN=${PKGDIR}/usr/share/man/man1 \
    install

package: |
  true