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.
20 lines
544 B
20 lines
544 B
8 years ago
|
import 'compile/cmake'
|
||
|
|
||
|
name=openal-soft
|
||
|
version=1.17.2
|
||
|
update_url="https://github.com/kcat/$name/releases"
|
||
|
|
||
|
dlextract "https://github.com/kcat/$name/archive/$name-$version.tar.gz" \
|
||
|
'8b23942c4e9a2fc3485b00fd06b0ddd5'
|
||
|
header_end
|
||
|
|
||
|
cd "$name-$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 -- -DSHARE_INSTALL_DIR="/$dir_prefix/$dir_datadir"
|
||
|
|
||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|