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

recipes/core/libnl/PAGBUILD.yaml main

39 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: libnl
pkgver: '3.12.0'
pkgrel: '1'
pkgdesc: 'Collection of Libraries providing APIs to netlink protocol based Linux kernel interfaces'
url: 'http://people.suug.ch/~tgr/libnl'
arch: x86_64
license:
- 'LGPL2.1'

depends: []
makedepends:
- bison
- flex

source:
- 'https://github.com/thom311/libnl/releases/download/libnl3_12_0/${pkgname}-doc-${pkgver}.tar.gz'
- 'https://github.com/thom311/libnl/releases/download/libnl3_12_0/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr \
  --sysconfdir=/etc \
  --disable-static
  make
  make DESTDIR=${PKGDIR} install

  # Doc
  mkdir -p ${PKGDIR}/usr/share/doc/
  mv ../${pkgname}-doc-${pkgver} \
  ${PKGDIR}/usr/share/doc/

  install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING

package: |
  true