1SUMMARY="A C library for manipulating tar files" 2DESCRIPTION="libtar is a library for manipulating tar files from within C \ 3programs. Here are some of its features: 4 5- Handles both POSIX tar file format and the GNU extensions. 6- API provides functions for easy use, such as tar_extract_all(). 7- Also provides functions for more granular use, such as \ 8tar_append_regfile()." 9HOMEPAGE="https://repo.or.cz/w/libtar.git/" 10COPYRIGHT=" 11 1998-2003 University of Illinois Board of Trustees 12 1998-2003 Mark D. Roth 13 " 14LICENSE="BSD (3-clause)" 15REVISION="6" 16gitCommit="9c2e044833c5e908f5be0a77991b08849021793e" 17SOURCE_URI="https://github.com/tklauser/libtar/archive/$gitCommit.tar.gz" 18CHECKSUM_SHA256="21d86460dd128f56cfa391e4bc82e91f98e84c2948a854e33daed5c58d4e9cb6" 19SOURCE_FILENAME="libtar-$portVersion-$gitCommit.tar.gz" 20SOURCE_DIR="libtar-$gitCommit" 21PATCHES="libtar-$portVersion.patchset" 22 23ARCHITECTURES="all" 24SECONDARY_ARCHITECTURES="x86" 25 26PROVIDES=" 27 libtar${secondaryArchSuffix} = $portVersion 28 cmd:libtar 29 lib:libtar${secondaryArchSuffix} = 0.0.0 compat >= 0 30 " 31REQUIRES=" 32 haiku${secondaryArchSuffix} 33 " 34 35PROVIDES_devel=" 36 libtar${secondaryArchSuffix}_devel = $portVersion 37 devel:libtar$secondaryArchSuffix = 0.0.0 38 " 39REQUIRES_devel=" 40 libtar$secondaryArchSuffix == $portVersion base 41 " 42 43BUILD_REQUIRES=" 44 haiku${secondaryArchSuffix}_devel 45 " 46BUILD_PREREQUIRES=" 47 cmd:aclocal 48 cmd:autoconf 49 cmd:autoheader 50 cmd:automake 51 cmd:gcc$secondaryArchSuffix 52 cmd:ld$secondaryArchSuffix 53 cmd:libtoolize$secondaryArchSuffix 54 cmd:make 55 " 56 57BUILD() 58{ 59 autoreconf -fi 60 runConfigure ./configure --disable-static 61 make $jobArgs 62} 63 64INSTALL() 65{ 66 make install 67 68 rm $libDir/libtar.la 69 70 prepareInstalledDevelLibs libtar 71 fixPkgconfig 72 73 # devel package 74 packageEntries devel \ 75 $developDir \ 76 $manDir 77} 78