From 7c90946eb971c7fb48cccdf4a507438dd7f570eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Tue, 27 Nov 2018 17:11:09 -0300 Subject: [PATCH] recipes: libs/libevent: fix documentation directory point, define pkgversion --- recipes/libs/libevent/recipe | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/recipes/libs/libevent/recipe b/recipes/libs/libevent/recipe index e01df677..9d5be23a 100644 --- a/recipes/libs/libevent/recipe +++ b/recipes/libs/libevent/recipe @@ -1,6 +1,7 @@ # Build recipe for libevent. # # Copyright 2018 Mateus P. Rodrigues . +# Copyright 2018 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,18 +17,18 @@ program=libevent version=git8483c53-20180914 -release=1 +pkgversion="$(echo $version | tr - _)" +release=2 # Set 'outdir' for a nice and well-organized output directory outdir="${outdir}/${arch}/libs" tarname=${program}-${version}.tar.lz -pkgname=${program} # Remote source(s) fetch=" -http://rsync.dragora.org/current/sources/$tarname -http://csphy.blue/dragora/mirror/current/sources/$tarname + http://rsync.dragora.org/current/sources/$tarname + http://csphy.blue/dragora/mirror/current/sources/$tarname " description=" @@ -44,7 +45,7 @@ license="3-clause BSD" # Source documentation docs="ChangeLog* LICENSE" -docsdir="${docdir}/${program}-${version}" +docsdir="${docdir}/${program}-${pkgversion}" build() { @@ -60,9 +61,7 @@ build() ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \ $configure_args \ --libdir=/usr/lib${libSuffix} \ - --infodir=$infodir \ - --mandir=$mandir \ - --docdir=$docdir \ + --docdir=$docsdir \ --build="$(cc -dumpmachine)" make -j${jobs} V=1 -- 2.11.4.GIT