|
|
|
import 'misc/debian'
|
|
|
|
|
|
|
|
name=xautolock
|
|
|
|
version=2.2
|
|
|
|
|
|
|
|
misc_debian_download 5.1 \
|
|
|
|
'd3d2fefe3345fa380f4e3331b9f13ba3' \
|
|
|
|
'9526347a202694ad235d731d9d3de91f'
|
|
|
|
extrafile "$name-$orig_version-do-not-restart.patch"
|
|
|
|
header_end
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
misc_debian_patch
|
|
|
|
patch -p0 -i "../$name-$orig_version-do-not-restart.patch"
|
|
|
|
|
|
|
|
xmkmf
|
|
|
|
make install \
|
|
|
|
DESTDIR="$dir_install" \
|
|
|
|
CCOPTIONS="$CFLAGS" \
|
|
|
|
EXTRA_LDOPTIONS="$LDFLAGS"
|
|
|
|
install -Dm644 xautolock.man "$dir_install/$dir_prefix/$dir_mandir/man1/xautolock.1"
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|