LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package libfixposix (Project home:sionescu)

# Maintainer: Stelian Ionescu <sionescu@cddr.org>
pkgname=libfixposix
pkgver=0.4.0
pkgrel=1
pkgdesc='Thin wrapper over POSIX syscalls'
arch=('i686' 'x86_64')
url='https://github.com/sionescu/libfixposix'
license='BSL-1.0'
depends=('glibc' 'gcc-libs' 'pkg-config')
makedepends=('make')
options=('!libtool')
source=("${pkgname}_${pkgver}.tar.gz")
sha256sums=('34c9e78ccd0acc2089d636537133bec1e02d524f0d2ecf0c47dfe85ae6d678ce')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --enable-static --with-pic --disable-tests
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}