mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libtar: added recipe for version 1.2.20
This commit is contained in:
80
dev-libs/libtar/libtar-1.2.20.recipe
Normal file
80
dev-libs/libtar/libtar-1.2.20.recipe
Normal file
@@ -0,0 +1,80 @@
|
||||
SUMMARY="A C library for manipulating tar files."
|
||||
DESCRIPTION="
|
||||
libtar is a library for manipulating tar files from within C programs.
|
||||
Here are some of its features:
|
||||
|
||||
* Handles both POSIX tar file format and the GNU extensions.
|
||||
* API provides functions for easy use, such as tar_extract_all().
|
||||
* Also provides functions for more granular use, such as \
|
||||
tar_append_regfile().
|
||||
"
|
||||
HOMEPAGE="http://repo.or.cz/w/libtar.git/"
|
||||
SRC_URI="http://repo.or.cz/w/libtar.git/snapshot/0907a9034eaf2a57e8e4a9439f793f3f05d446cd.tar.gz"
|
||||
CHECKSUM_SHA256="d1b2660d0af735fed2d2a0c3369dda7bea7445a4b1ef2f2742b352b1e1eec5f8"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libtar${secondaryArchSuffix} = $portVersion
|
||||
cmd:libtar
|
||||
lib:libtar${secondaryArchSuffix} = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoheader
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
libtoolize -fci
|
||||
autoheader
|
||||
automake --add-missing
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libtar
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
libtar${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libtar$secondaryArchSuffix = 0.0.0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libtar$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="
|
||||
1998-2003 University of Illinois Board of Trustees
|
||||
1998-2003 Mark D. Roth
|
||||
"
|
||||
Reference in New Issue
Block a user