You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
528 B
19 lines
528 B
import 'compile/cmake'
|
|
|
|
name=physfs
|
|
version=2.0.3
|
|
update_url="https://www.icculus.org/$name/downloads/"
|
|
|
|
dlextract "https://www.icculus.org/$name/downloads/$name-$version.tar.bz2" \
|
|
'c2c727a8a8deb623b521b52d0080f613'
|
|
header_end
|
|
|
|
cd "$name-$version"
|
|
|
|
# Fix paths
|
|
sed -i -e "/DESTINATION/s/bin/\"$(safe_sed "$dir_bindir")\"/" \
|
|
-e "/DESTINATION/s/lib\${LIB_SUFFIX}/\"$(safe_sed "$dir_libdir")\"/" CMakeLists.txt
|
|
|
|
compile_cmake -- -DPHYSFS_BUILD_STATIC=FALSE
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|
|
|