diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/doxygen/APKBUILD | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/main/doxygen/APKBUILD b/main/doxygen/APKBUILD index 06f3730f72..2ffec34b06 100644 --- a/main/doxygen/APKBUILD +++ b/main/doxygen/APKBUILD @@ -1,45 +1,49 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=doxygen -pkgver=1.8.9.1 -pkgrel=2 +pkgver=1.8.10 +pkgrel=0 pkgdesc="A documentation system for C++, C, Java, IDL and PHP" url="http://www.doxygen.org/" arch="all" license="GPL" depends="" -makedepends="flex bison coreutils perl python" -subpackages="$pkgname-doc" -source="http://ftp.stack.nl/pub/users/dimitri/doxygen-$pkgver.src.tar.gz" +makedepends="flex bison coreutils perl python cmake" +subpackages="" +source="http://ftp.stack.nl/pub/users/dimitri/doxygen-$pkgver.src.tar.gz + doxygen-1.8.10-install.patch + " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - - sed -i -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \ - -e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \ - -e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \ - tmake/lib/*/tmake.conf \ - || return 1 - - # fix final DESTDIR issue - sed -i -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \ - addon/doxywizard/Makefile.in || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build() { cd "$_builddir" - export ECFLAGS="$CFLAGS" ECXXFLAGS="$CXXFLAGS" ELDFLAGS="$LDFLAGS" - ./configure \ - --prefix /usr \ + cmake .\ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -Dbuild_xmlparser=ON \ + -DMAN_INSTALL_DIR=/usr/share/man/man1 \ + -DDOC_INSTALL_DIR=/usr/share/doc/doxygen \ || return 1 + make || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" MAN1DIR=share/man/man1 install + make DESTDIR="$pkgdir" install } -md5sums="3d1a5c26bef358c10a3894f356a69fbc doxygen-1.8.9.1.src.tar.gz" -sha256sums="d4ab6e28d4d45d8956cad17470aade3fbe2356e8f64b92167e738c1887feccec doxygen-1.8.9.1.src.tar.gz" -sha512sums="b76d06fc6e22d5e8e2b73814bc99cc0cf75ddf4e5a6ad1bd79832f12ccce5ccc2681777862b9ad0dbfdf1791fd1ce1f0f5ce669a78c7d38f91b0e8d5ebda8ade doxygen-1.8.9.1.src.tar.gz" +md5sums="79767ccd986f12a0f949015efb5f058f doxygen-1.8.10.src.tar.gz +4ca5c58a2e2c8ca77c236735f858ac7e doxygen-1.8.10-install.patch" +sha256sums="cedf78f6d213226464784ecb999b54515c97eab8a2f9b82514292f837cf88b93 doxygen-1.8.10.src.tar.gz +52e064730e5f975fef6cc1c1ceadec2b66ff85eeb49525f8406bd33397b5d4b5 doxygen-1.8.10-install.patch" +sha512sums="a7f29b5f7b9f55b7e5382b7b7dc7212247a27869bc265433c0ee51480645b3f5f0732d1f5aefd54952204c8a1c98b96ec1ecc22c1ff7a072db5b2356b5981074 doxygen-1.8.10.src.tar.gz +213ab982d64f6eafa7bd8237cd5cb13a17f8e6f3490982dae3ccd93025804f38bf24b9409f4247c3286ca158335de85f7b2c5325e2e92fcff7502c07f895445d doxygen-1.8.10-install.patch" |