osmgpsmap-git: Fix docs directory.
This commit is contained in:
11
mingw-w64-osmgpsmap-git/001-fix-docdir.patch
Normal file
11
mingw-w64-osmgpsmap-git/001-fix-docdir.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- osm-gps-map/Makefile.am.orig 2015-01-11 18:58:00.502800000 +0300
|
||||
+++ osm-gps-map/Makefile.am 2015-01-11 18:58:16.420200000 +0300
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
|
||||
-osm_gps_mapdocdir = ${prefix}/doc/osm-gps-map
|
||||
+osm_gps_mapdocdir = ${prefix}/share/doc/osm-gps-map
|
||||
osm_gps_mapdoc_DATA = \
|
||||
README \
|
||||
COPYING \
|
||||
@@ -18,16 +18,26 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gnome-common"
|
||||
"${MINGW_PACKAGE_PREFIX}-gtk-doc"
|
||||
"git")
|
||||
options=('staticlibs' 'strip' '!debug')
|
||||
source=("git://github.com/nzjrs/osm-gps-map")
|
||||
md5sums=("SKIP")
|
||||
source=("git://github.com/nzjrs/osm-gps-map"
|
||||
001-fix-docdir.patch)
|
||||
md5sums=('SKIP'
|
||||
'797e4ef839ab903de0311fd06277cb0c')
|
||||
|
||||
pkgver() {
|
||||
cd $_realname
|
||||
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${_realname}
|
||||
patch -p1 -i ${srcdir}/001-fix-docdir.patch
|
||||
|
||||
gtkdocize
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
export CC=gcc
|
||||
export CC=${MINGW_PREFIX}/bin/gcc
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
"${srcdir}"/${_realname}/autogen.sh \
|
||||
@@ -37,6 +47,7 @@ build() {
|
||||
--enable-gtk-doc=no \
|
||||
--enable-shared=yes \
|
||||
--enable-static=yes
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user