~alpine/aports

1

[alpine-aports] [PATCH] testing/evemu: new aport

Dario Pellegrini
Details
Message ID
<20181228120821.5567-1-pellegrini.dario@gmail.com>
Sender timestamp
1545998901
DKIM signature
missing
Download raw message
Patch: +40 -0
https://www.freedesktop.org/wiki/Evemu/
evemu records and replays device descriptions and events
testing/
---
 testing/evemu/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 testing/evemu/APKBUILD

diff --git a/testing/evemu/APKBUILD b/testing/evemu/APKBUILD
new file mode 100644
index 0000000000..c770075849
--- /dev/null
+++ b/testing/evemu/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: 
+# Maintainer: Dario Pellegrini <pellegrini.dario@gmail.com>
+pkgname=evemu
+pkgver=2.7.0
+pkgrel=0
+pkgdesc="evemu records and replays device descriptions and events"
+url="https://www.freedesktop.org/wiki/Evemu/"
+arch="all"
+license="GPL"
+depends="libevdev-dev libtool"
+depends_dev=""
+makedepends="autoconf automake make gcc"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/freedesktop/evemu/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+        default_prepare
+        "$builddir"/autogen.sh
+}
+
+build() {
+	cd "$builddir"
+	./configure --prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--infodir=/usr/share/info \
+		--localstatedir=/var \
+		--disable-python-bindings \
+    --disable-tests
+	make -j4
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="cd3b1c7828c08544d7bc8542a003ba7e80b9a0a71671e69b3cc096c9c8328664745377641cd0d393bcfa4b20bf6171e18dac032c0cfc74a7d6a0bc8bbc3c5cb7  evemu-2.7.0.tar.gz"
-- 
2.20.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena
Details
Message ID
<CAGG_d8CPJ1_gpT=gOZdSkKWjmk26RtfWxspPFnjfLFeTjNT+HA@mail.gmail.com>
In-Reply-To
<20181228120821.5567-1-pellegrini.dario@gmail.com> (view parent)
Sender timestamp
1549361840
DKIM signature
missing
Download raw message
Hi,

On Fri, Dec 28, 2018 at 1:08 PM Dario Pellegrini <pellegrini.dario@gmail.com>
wrote:

> https://www.freedesktop.org/wiki/Evemu/
> evemu records and replays device descriptions and events
> testing/
> ---
>  testing/evemu/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>  create mode 100644 testing/evemu/APKBUILD
>
>
it needs python:

checking for a Python interpreter with version >= 2.6... none
configure: error: no suitable Python interpreter found
>>> ERROR: evemu: build failed



> diff --git a/testing/evemu/APKBUILD b/testing/evemu/APKBUILD
> new file mode 100644
> index 0000000000..c770075849
> --- /dev/null
> +++ b/testing/evemu/APKBUILD
> @@ -0,0 +1,40 @@
> +# Contributor:
> +# Maintainer: Dario Pellegrini <pellegrini.dario@gmail.com>
> +pkgname=evemu
> +pkgver=2.7.0
> +pkgrel=0
> +pkgdesc="evemu records and replays device descriptions and events"
> +url="https://www.freedesktop.org/wiki/Evemu/"
> +arch="all"
> +license="GPL"
>


Please pick the correct license ID one from https://spdx.org/licenses/



> +depends="libevdev-dev libtool"
> +depends_dev=""
> +makedepends="autoconf automake make gcc"
> +install=""
> +subpackages=""
> +source="$pkgname-$pkgver.tar.gz::
> https://github.com/freedesktop/evemu/archive/v$pkgver.tar.gz"
> +builddir="$srcdir/$pkgname-$pkgver"
> +
> +prepare() {
> +        default_prepare
> +        "$builddir"/autogen.sh
> +}
> +
> +build() {
> +       cd "$builddir"
> +       ./configure --prefix=/usr \
> +               --sysconfdir=/etc \
> +               --mandir=/usr/share/man \
> +               --infodir=/usr/share/info \
> +               --localstatedir=/var \
> +               --disable-python-bindings \
> +    --disable-tests
>

Please fix indentation.

Other than these minor issues looks good!

Thanks!


/eo