diff options
author | Max Rees <maxcrees@me.com> | 2018-08-13 04:53:04 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-08-13 04:53:04 -0400 |
commit | 49210dec2adf61351d714cff0640b2570813b0f4 (patch) | |
tree | d899a7ecf1d080dcadb0388c6ac28c10ea3cf169 /user/ucpp | |
parent | 0d27c90fec7f8b12a0ccdc9cbf32e8d521e7adbf (diff) | |
download | packages-49210dec2adf61351d714cff0640b2570813b0f4.tar.gz packages-49210dec2adf61351d714cff0640b2570813b0f4.tar.bz2 packages-49210dec2adf61351d714cff0640b2570813b0f4.tar.xz packages-49210dec2adf61351d714cff0640b2570813b0f4.zip |
user/ucpp: pull in, modernize, add -doc
Diffstat (limited to 'user/ucpp')
-rw-r--r-- | user/ucpp/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
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 <timo.teras@iki.fi> +# Maintainer: Max Rees <maxcrees@me.com> +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" |