Added xfsprogs-3.0.3 build template.

--HG--
extra : convert_revision : d852e58a2469fed1d4e891dd032c7434ade51037
This commit is contained in:
Juan RP 2009-12-05 07:26:40 +01:00
parent be69941ead
commit 9973246191
6 changed files with 73 additions and 0 deletions

1
srcpkgs/xfsprogs-devel Symbolic link
View file

@ -0,0 +1 @@
xfsprogs

1
srcpkgs/xfsprogs-libs Symbolic link
View file

@ -0,0 +1 @@
xfsprogs

2
srcpkgs/xfsprogs/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=3.0.3"
api_depends="${abi_depends}"

32
srcpkgs/xfsprogs/template Normal file
View file

@ -0,0 +1,32 @@
# Template file for 'xfsprogs'
pkgname=xfsprogs
version=3.0.3
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--sbindir=/sbin --enable-readline=yes"
make_install_target="DIST_ROOT=$XBPS_DESTDIR/$pkgname-$version
install install-dev"
short_desc="Utilities for managing the XFS filesystem"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=58b33a4b19ee85eb14d5c3908fa60ce822d1eccc89f1a9b7839171ab576c0d95
long_desc="
A set of commands to use the XFS filesystem, including mkfs.xfs.
XFS is a high performance journaling filesystem which originated on the
SGI IRIX platform. It is completely multi-threaded, can support large files
and large filesystems, extended attributes, variable block sizes, is extent
based, and makes extensive use of Btrees (directories, extents, free space)
to aid both performance and scalability."
subpackages="$pkgname-libs $pkgname-devel"
Add_dependency full glibc
Add_dependency full libuuid
Add_dependency full readline
Add_dependency run xfsprogs-libs
Add_dependency build gettext
pre_configure()
{
export OPTIMIZER="-O1"
export DEBUG=-DNDEBUG
}

View file

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

View file

@ -0,0 +1,14 @@
# Template file for 'xfsprogs-libs'.
#
short_desc="${short_desc} (shared libraries)"
long_desc="${long_desc}
This package contains the shared libraries."
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so.* ${DESTDIR}/lib
}