# Recipe for version 3.1 by Demian Florentin , on Sat Dec 1 22:38:50 PYST 2007 # Recipe (MakeRecipe) for Slocate by Jonas Karlsson , on Fri Apr 8 17:26:15 CEST 2005 compile_version=1.9.0 url="http://slocate.trakker.ca/files/slocate-3.1.tar.gz" file_size=37748 file_md5=908e6949d959ae7b686c10bb76b35bf3 recipe_type=makefile make_variables=( "DESTDIR=$target" ) pre_build () { # Add group slocate if ! grep -q slocate $goboSettings/group then groupadd slocate fi } post_install() { #Create the updatedb shell script and make it executable echo "slocate -u" > $target/bin/updatedb && chmod +x $target/bin/updatedb # Force links to executables (Steal them from FindUtils) ln -s -f $target/bin/slocate $goboExecutables/locate ln -s -f $target/bin/updatedb $goboExecutables/updatedb } unmanaged_files=( "$goboVariable/lib/slocate" )