mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
popt: drop libtool file, reorder sections. add TEST.
Also update COPYRIGHT years and re-wrap DESCRIPTION.
This commit is contained in:
@@ -1,25 +1,23 @@
|
||||
SUMMARY="A command line option parsing library"
|
||||
DESCRIPTION="
|
||||
This is the popt(3) command line option parsing library. While it is similiar \
|
||||
to getopt(3), it contains a number of enhancements, including:
|
||||
DESCRIPTION="This is the popt(3) command line option parsing library. While it \
|
||||
is similiar to getopt(3), it contains a number of enhancements, including:
|
||||
- popt is fully reentrant
|
||||
- popt can parse arbitrary argv[] style arrays while getopt(3) makes this \
|
||||
quite difficult
|
||||
- popt allows users to alias command line arguments
|
||||
- popt provides convience functions for parsing strings into argv[] style \
|
||||
arrays
|
||||
"
|
||||
arrays"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1998-2002 Red Hat, Inc."
|
||||
COPYRIGHT="1998-2010 Red Hat, Inc."
|
||||
HOMEPAGE="http://rpm5.org/files/popt/"
|
||||
REVISION="3"
|
||||
SOURCE_URI="http://rpm5.org/files/popt/popt-1.16.tar.gz"
|
||||
CHECKSUM_SHA256="e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8"
|
||||
REVISION="2"
|
||||
PATCHES="popt-1.16.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PATCHES="popt-1.16.patchset"
|
||||
|
||||
PROVIDES="
|
||||
popt$secondaryArchSuffix = $portVersion
|
||||
lib:libpopt$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
@@ -27,14 +25,23 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
popt${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libpopt$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
popt$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
@@ -51,6 +58,8 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libpopt.la
|
||||
|
||||
prepareInstalledDevelLibs libpopt
|
||||
fixPkgconfig
|
||||
|
||||
@@ -60,13 +69,8 @@ INSTALL()
|
||||
$manDir/man3
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
popt${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libpopt$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
popt$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user