mid-kid
8 years ago
16 changed files with 48 additions and 31 deletions
@ -0,0 +1,15 @@ |
|||
import 'compile/cmake' |
|||
|
|||
name=glm |
|||
version=0.9.8.4 |
|||
update_url="https://github.com/g-truc/$name/releases" |
|||
update_names="/archive/$version.tar.gz" |
|||
|
|||
dlextract "https://github.com/g-truc/$name/archive/$version/$name-$version.tar.gz" \ |
|||
'26ca8792038da90f67301fa0a3d5b693' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_cmake |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
@ -1,19 +1,21 @@ |
|||
import 'compile/cmake' |
|||
|
|||
name=slop |
|||
version=4.3.21 |
|||
version=5.3.37 |
|||
update_url="https://github.com/naelstrof/$name/releases" |
|||
update_names="/archive/v$version.tar.gz" |
|||
|
|||
dlextract "https://github.com/naelstrof/$name/archive/v$version/$name-$version.tar.gz" \ |
|||
'14feae4eed73470bf843c6d65dbb4dff' |
|||
'3c9daf46110b1aada91aa5832dcf71dc' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
|
|||
# Fix paths |
|||
sed -i -e "s/\${CMAKE_INSTALL_PREFIX}\/bin/\${CMAKE_INSTALL_PREFIX}\/$(safe_sed "$dir_bindir")/" CMakeLists.txt |
|||
sed -i -e "/^install(/s/bin/$(safe_sed "$dir_bindir")/" \ |
|||
-e "/^install(/s/lib/$(safe_sed "$dir_libdir")/" \ |
|||
-e "/^install(/s/include/$(safe_sed "$dir_includedir")/" CMakeLists.txt |
|||
|
|||
compile_cmake |
|||
compile_cmake -- -DCMAKE_INSTALL_MANDIR="/$dir_prefix/$dir_mandir" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
|||
|
Loading…
Reference in new issue