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
557 B
20 lines
557 B
8 years ago
|
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:
|