diff options
Diffstat (limited to 'community/tinyxml2/APKBUILD')
-rw-r--r-- | community/tinyxml2/APKBUILD | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/community/tinyxml2/APKBUILD b/community/tinyxml2/APKBUILD deleted file mode 100644 index 873b8c2cd3..0000000000 --- a/community/tinyxml2/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: André Klitzing <aklitzing@gmail.com> -# Maintainer: André Klitzing <aklitzing@gmail.com> -pkgname=tinyxml2 -pkgver=6.2.0 -pkgrel=0 -pkgdesc="Simple, small and efficient C++ XML parser" -url="http://www.grinninglizard.com/tinyxml2" -arch="all" -license="zlib" -makedepends="cmake" -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/leethomason/tinyxml2/archive/$pkgver.tar.gz" - -build() { - cd "$builddir" - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} - make -} - -check() { - cd "$builddir" - make test -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="ef784240aeb090ab04aad659352ad4b224c431feecf485f33aca7936bcaa0ef4ab9d0a2e0692d3cf6036ac3e8012019d65665e780a920bbad3d4820f736445b1 tinyxml2-6.2.0.tar.gz" |