gpm: added systemd build option (off).
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
# Template file for 'gpm'
|
# Template file for 'gpm'
|
||||||
pkgname=gpm
|
pkgname=gpm
|
||||||
version=1.20.7
|
version=1.20.7
|
||||||
revision=3
|
revision=4
|
||||||
|
build_options="systemd"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool flex"
|
hostmakedepends="automake libtool flex"
|
||||||
makedepends="ncurses-devel libfl-devel"
|
makedepends="ncurses-devel libfl-devel"
|
||||||
configure_args="--sbindir=/usr/bin"
|
configure_args="--sbindir=/usr/bin"
|
||||||
systemd_services="gpm.service on"
|
|
||||||
short_desc="A mouse server for the console and xterm"
|
short_desc="A mouse server for the console and xterm"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.nico.schottelius.org/software/gpm/"
|
homepage="http://www.nico.schottelius.org/software/gpm/"
|
||||||
@@ -17,7 +17,6 @@ checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c
|
|||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
cd ${DESTDIR}/usr/lib
|
cd ${DESTDIR}/usr/lib
|
||||||
ln -s libgpm.so.2.* libgpm.so
|
ln -s libgpm.so.2.* libgpm.so
|
||||||
@@ -25,10 +24,11 @@ post_install() {
|
|||||||
touch ${DESTDIR}/usr/share/info/dir
|
touch ${DESTDIR}/usr/share/info/dir
|
||||||
|
|
||||||
vinstall ${FILESDIR}/gpm.sh 755 etc/profile.d
|
vinstall ${FILESDIR}/gpm.sh 755 etc/profile.d
|
||||||
vinstall ${FILESDIR}/gpm.service 644 usr/lib/systemd/system
|
if [ "$build_option_systemd" ]; then
|
||||||
|
vinstall ${FILESDIR}/gpm.service 644 usr/lib/systemd/system
|
||||||
|
fi
|
||||||
vsv gpm
|
vsv gpm
|
||||||
}
|
}
|
||||||
|
|
||||||
gpm-devel_package() {
|
gpm-devel_package() {
|
||||||
depends="libgpm-${version}_${revision}"
|
depends="libgpm-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
@@ -38,7 +38,6 @@ gpm-devel_package() {
|
|||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libgpm_package() {
|
libgpm_package() {
|
||||||
short_desc+=" - runtime library"
|
short_desc+=" - runtime library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user