Added popt-1.15 build template.

--HG--
extra : convert_revision : 5a59894d8f28f7e036acd3b853894bb89ba3400a
This commit is contained in:
Juan RP 2009-10-04 15:59:30 +02:00
parent b9368fafd0
commit 16452a9775
4 changed files with 42 additions and 0 deletions

1
templates/popt-devel Symbolic link
View file

@ -0,0 +1 @@
popt

2
templates/popt/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=1.15
api_depends=${abi_depends}

View file

@ -0,0 +1,19 @@
# Template file for 'popt-devel'.
#
short_desc="popt development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run popt
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
rm -rf ${SRCPKGDESTDIR}/usr/share/man
}

20
templates/popt/template Normal file
View file

@ -0,0 +1,20 @@
# Template file for 'popt'
pkgname=popt
version=1.15
distfiles="http://rpm5.org/files/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-rpath"
short_desc="Command line option parsing library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=069b538e98f91a4564242ae0bd9c7486281452d009c560c4b98e7ef26a640bf3
long_desc="
The popt library exists essentially for parsing command line options.
Some specific advantages of popt are no global variables (allowing
multiple passes in parsing argv), parsing an arbitrary array of
argv-style elements (allowing parsing of command-line-strings from any
source), a standard method of option aliasing, ability to exec external
option filters, and automatic generation of help and usage messages."
subpackages="devel"
Add_dependency full glibc