libdaemon: disable static, set -devel noarch.

This commit is contained in:
Juan RP 2012-10-10 10:39:41 +02:00
parent 3c4ea68036
commit fdf1b35f72
2 changed files with 9 additions and 11 deletions

View file

@ -1,18 +1,16 @@
# Template file for 'libdaemon-devel'. # Template file for 'libdaemon-devel'.
# #
depends="glibc-devel libdaemon" depends="libdaemon-${version}_${revision}"
short_desc="${sourcepkg} development files" short_desc="${sourcepkg} development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() {
do_install()
{
mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
} }

View file

@ -1,13 +1,15 @@
# Template file for 'libdaemon' # Template file for 'libdaemon'
pkgname=libdaemon pkgname=libdaemon
version=0.14 version=0.14
revision=3 revision=4
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz" subpackages="$pkgname-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-lynx" configure_args="--disable-static --disable-lynx"
makedepends="glibc-devel"
short_desc="Lightweight C library that eases the writing of UNIX daemons" short_desc="Lightweight C library that eases the writing of UNIX daemons"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://0pointer.de/lennart/projects/$pkgname"
license="LGPL-2.1"
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz"
checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834 checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
long_desc=" long_desc="
It consists of the following parts: It consists of the following parts:
@ -23,5 +25,3 @@ long_desc="
APIs like these are used in most daemon software available. It is not that APIs like these are used in most daemon software available. It is not that
simple to get it done right and code duplication is not a goal." simple to get it done right and code duplication is not a goal."
subpackages="$pkgname-devel"