mid-kid
8 years ago
2 changed files with 37 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||
|
import 'compile/cmake' |
||||
|
|
||||
|
name=maim |
||||
|
version=3.4.47 |
||||
|
update_url="https://github.com/naelstrof/$name/releases" |
||||
|
|
||||
|
dlextract "https://github.com/naelstrof/$name/archive/v$version.tar.gz" \ |
||||
|
'5eab9c6fe147c7c3ff246fa764e7c2d1' |
||||
|
header_end |
||||
|
|
||||
|
cd "$name-$version" |
||||
|
|
||||
|
# Fix paths |
||||
|
sed -i -e "s/\${CMAKE_INSTALL_PREFIX}\/bin/\${CMAKE_INSTALL_PREFIX}\/$(safe_sed "$dir_bindir")/" CMakeLists.tx |
||||
|
|
||||
|
# This project doesn't use GNUInstallDir's CMAKE_INSTALL_* |
||||
|
compile_cmake -- -DCMAKE_INSTALL_MANDIR="/$dir_prefix/$dir_mandir" |
||||
|
|
||||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,18 @@ |
|||||
|
import 'compile/cmake' |
||||
|
|
||||
|
name=slop |
||||
|
version=4.3.21 |
||||
|
update_url="https://github.com/naelstrof/$name/releases" |
||||
|
|
||||
|
dlextract "https://github.com/naelstrof/$name/archive/v$version.tar.gz" \ |
||||
|
'14feae4eed73470bf843c6d65dbb4dff' |
||||
|
header_end |
||||
|
|
||||
|
cd "$name-$version" |
||||
|
|
||||
|
# Fix paths |
||||
|
sed -i -e "s/\${CMAKE_INSTALL_PREFIX}\/bin/\${CMAKE_INSTALL_PREFIX}\/$(safe_sed "$dir_bindir")/" CMakeLists.txt |
||||
|
|
||||
|
compile_cmake |
||||
|
|
||||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
Loading…
Reference in new issue