xzutils 5.0.3

This commit is contained in:
Tom G. Christensen 2011-06-03 14:55:44 +00:00 committed by Tom G. Christensen
parent 10dd6e4c16
commit 043e914a11
3 changed files with 93 additions and 0 deletions

62
xzutils/build.sh Executable file
View File

@ -0,0 +1,62 @@
#!/bin/bash
# This is a buildpkg build.sh script
# build.sh helper functions
. ${BUILDPKG_SCRIPTS}/build.sh.functions
#
###########################################################
# Check the following 4 variables before running the script
topdir=xz
version=5.0.3
pkgver=1
source[0]=http://tukaani.org/xz/$topdir-$version.tar.gz
# If there are no patches, simply comment this
#patch[0]=
# Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
# Global settings
export CPPFLAGS="-I/usr/tgcware/lib"
export LDFLAGS="-L/usr/tgcware/lib -R/usr/tgcware/lib"
reg prep
prep()
{
generic_prep
}
reg build
build()
{
generic_build
}
reg check
check()
{
generic_check
}
reg install
install()
{
generic_install DESTDIR
${__mv} ${stagedir}${prefix}/${_docdir}/xz ${stagedir}${prefix}/${_vdocdir}
}
reg pack
pack()
{
generic_pack
}
reg distclean
distclean()
{
clean distclean
}
###################################################
# No need to look below here
###################################################
build_sh $*

4
xzutils/meta/ChangeLog Normal file
View File

@ -0,0 +1,4 @@
CHANGELOG
---------
* Fri Jun 3 2011 Tom G. Christensen <swpkg@jupiterrise.com> - 5.0.3-1
- Initial package

27
xzutils/meta/pkgdef Normal file
View File

@ -0,0 +1,27 @@
[xzutils]
pkgname="${pkgprefix}${topdir}"
name="xzutils - XZ Utils"
pkgcat="application"
pkgvendor="http://tuukani.org/xz/"
pkgdesc="Free general-purpose data compression software with high compression ratio"
pkgver="$pkgver"
files(-,root,bin)
$_sharedir/doc
$_bindir
$_libdir/*.so.*
$_sharedir/locale/*/LC_MESSAGES/xz.mo
$_mandir/man1
[xzutils-devel]
pkgname="${pkgprefix}${topdir}d"
name="xzutils-devel - XZ Utils development support"
pkgcat="application"
pkgvendor="http://tuukani.org/xz/"
pkgdesc="Files needed for developing with xz utils"
pkgver="$pkgver"
files(-,root,bin)
$_libdir/*.so
$_libdir/*.a
$_libdir/pkgconfig
$_includedir