From 0a6e3803b222d2873fc1fda7567df92b0ca963c1 Mon Sep 17 00:00:00 2001 From: milisbir Date: Mon, 26 Feb 2018 12:12:58 +0200 Subject: [PATCH] lirc --- talimatname/genel/l/lirc/lirc.logrotate | 5 +++++ talimatname/genel/l/lirc/lirc.tmpfiles | 1 + talimatname/genel/l/lirc/talimat | 30 +++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 talimatname/genel/l/lirc/lirc.logrotate create mode 100644 talimatname/genel/l/lirc/lirc.tmpfiles create mode 100644 talimatname/genel/l/lirc/talimat diff --git a/talimatname/genel/l/lirc/lirc.logrotate b/talimatname/genel/l/lirc/lirc.logrotate new file mode 100644 index 000000000..623c4f328 --- /dev/null +++ b/talimatname/genel/l/lirc/lirc.logrotate @@ -0,0 +1,5 @@ +/var/log/lircd { + missingok + notifempty + delaycompress +} diff --git a/talimatname/genel/l/lirc/lirc.tmpfiles b/talimatname/genel/l/lirc/lirc.tmpfiles new file mode 100644 index 000000000..0b80e2e47 --- /dev/null +++ b/talimatname/genel/l/lirc/lirc.tmpfiles @@ -0,0 +1 @@ +d /run/lirc 0755 root root - diff --git a/talimatname/genel/l/lirc/talimat b/talimatname/genel/l/lirc/talimat new file mode 100644 index 000000000..657bbdc1a --- /dev/null +++ b/talimatname/genel/l/lirc/talimat @@ -0,0 +1,30 @@ +# Tanım: Linux Kızılötesi Uzaktan Kumanda programları +# URL: http://www.lirc.org/ +# Paketçi: Cihan_Alkan +# Gerekler: alsa-lib xorg-libx11 libftdi libusb-compat help2man libxslt python3 python3-setuptools +# Grup: sistem + +isim=lirc +surum=0.10.1 +devir=1 + +kaynak=(https://sourceforge.net/projects/lirc/files/LIRC/0.10.1/lirc-$surum.tar.gz + lirc.logrotate + lirc.tmpfiles) + +derle() { + + cd "${SRC}/lirc-$surum" + + HAVE_UINPUT=1 ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make + make DESTDIR="${PKG}" -j1 install + + install -Dm644 "${SRC}"/lirc.tmpfiles "${PKG}"/usr/lib/tmpfiles.d/lirc.conf + install -Dm644 "${SRC}"/lirc.logrotate "${PKG}"/etc/logrotate.d/lirc + + rmdir "${PKG}"/var/{run/lirc/,run/} + rm -rf ${PKG}/usr/share/doc + rm -rf ${PKG}/usr/share/man +}