Added physfs-2.0.0 build template.
--HG-- extra : convert_revision : e6f14581645fe635dc8aa5b7b476d3b51cb9902a
This commit is contained in:
parent
17b6b3535b
commit
b90a9c5c1e
4 changed files with 43 additions and 0 deletions
1
srcpkgs/physfs-devel
Symbolic link
1
srcpkgs/physfs-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
physfs
|
2
srcpkgs/physfs/depends
Normal file
2
srcpkgs/physfs/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=2.0.0"
|
||||||
|
api_depends="${abi_depends}"
|
18
srcpkgs/physfs/physfs-devel.template
Normal file
18
srcpkgs/physfs/physfs-devel.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'physfs-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run zlib-devel
|
||||||
|
Add_dependency run physfs
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
||||||
|
}
|
22
srcpkgs/physfs/template
Normal file
22
srcpkgs/physfs/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'physfs'
|
||||||
|
pkgname=physfs
|
||||||
|
version=2.0.0
|
||||||
|
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.gz"
|
||||||
|
build_style=configure
|
||||||
|
CFLAGS="-fno-strict-aliasing"
|
||||||
|
configure_script="cmake"
|
||||||
|
configure_args=". -DCMAKE_INSTALL_PREFIX=/usr"
|
||||||
|
short_desc="Library to provide abstract access to various archives"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=cbdfaf484d26c2c5d5673aabf8a3f1e0afdcbbd0a99865ba226e9368f3c5501c
|
||||||
|
long_desc="
|
||||||
|
It is intended for use in video games, and the design was somewhat inspired
|
||||||
|
by Quake 3's file subsystem. The programmer defines a write directory on
|
||||||
|
the physical filesystem. No file writing done through the PhysicsFS API can
|
||||||
|
leave that write directory, for security."
|
||||||
|
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run zlib
|
||||||
|
Add_dependency build cmake
|
||||||
|
Add_dependency build zlib-devel
|
Loading…
Reference in a new issue