31 lines
1005 B
Bash
31 lines
1005 B
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Contributor: Manolis Tzanidakis
|
|
# Contributor: Mark Rosenstand <mark@archlinux.org>
|
|
# Contributor: Thayer Williams <thayer@archlinux.org>
|
|
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
|
|
|
|
pkgname=libdaemon
|
|
pkgver=0.14
|
|
pkgrel=6
|
|
pkgdesc='Lightweight C library that eases the writing of UNIX daemons'
|
|
url='http://0pointer.de/lennart/projects/libdaemon/'
|
|
license=('LGPL')
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
depends=('glibc')
|
|
makedepends=('git')
|
|
source=(http://0pointer.de/lennart/projects/libdaemon/libdaemon-${pkgver}.tar.gz)
|
|
sha512sums=('a96b25c09bd63cc192c1c5f8b5bf34cc6ad0c32d42ac14b520add611423b6ad3d64091a47e0c7ab9a94476a5e645529abccea3ed6b23596567163fba88131ff2')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./bootstrap.sh --build=${CHOST}
|
|
./configure --prefix=/usr --localstatedir=/var --disable-lynx --build=${CHOST}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|