mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 18:37:13 +08:00
28 lines
841 B
Bash
28 lines
841 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libdaemon
|
|
pkgver=0.14
|
|
pkgrel=1
|
|
pkgdesc="A lightweight C library which eases the writing of UNIX daemons"
|
|
url="http://0pointer.de/lennart/projects/libdaemon/"
|
|
license=('LGPL')
|
|
arch=('i686' 'x86_64')
|
|
depends=('glibc')
|
|
source=(http://0pointer.de/lennart/projects/libdaemon/$pkgname-$pkgver.tar.gz)
|
|
options=('!libtool')
|
|
md5sums=('509dc27107c21bcd9fbf2f95f5669563')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --localstatedir=/var --disable-lynx || return 1
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
}
|
|
|