From 49210dec2adf61351d714cff0640b2570813b0f4 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Mon, 13 Aug 2018 04:53:04 -0400 Subject: user/ucpp: pull in, modernize, add -doc --- user/ucpp/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 user/ucpp/APKBUILD (limited to 'user/ucpp/APKBUILD') diff --git a/user/ucpp/APKBUILD b/user/ucpp/APKBUILD new file mode 100644 index 000000000..60db06531 --- /dev/null +++ b/user/ucpp/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Timo Teräs +# Maintainer: Max Rees +pkgname=ucpp +pkgver=1.3.2 +pkgrel=0 +pkgdesc="Embeddable, quick, light and C99 compliant C preprocessor" +url="https://code.google.com/p/ucpp/" +arch="all" +options="!check" # No test suite. +license="BSD-3-Clause and Public-Domain" +depends="" +makedepends="" +subpackages="$pkgname-doc" +source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir/$pkgname" + +build() { + cd "$builddir" + make +} + +package() { + cd "$builddir" + install -Dm755 ucpp "$pkgdir"/usr/bin/ucpp + gzip ucpp.1 + install -Dm644 ucpp.1.gz "$pkgdir"/usr/share/man/man1/ucpp.1.gz +} + +sha512sums="a8a22162c0e26bc8281928f921f4e531108ba02658fd9c7a1760ae2fe938c910215aa4db02e5c7f0c5ea1aa66d89157bc780f2f13c57fa603de6c2d0c48cfd32 ucpp-1.3.2.tar.bz2" -- cgit v1.2.3-70-g09d2