aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-10 15:26:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-10 15:26:51 +0000
commit49a5d8f68676730b4a02d8971171924d7c8e2146 (patch)
tree19c3499d70df6239fa5dc279634b2dea27721341 /main
parent1b5447564c4db9ed56803cc08d1dba2440100096 (diff)
downloadaports-49a5d8f68676730b4a02d8971171924d7c8e2146.tar.bz2
aports-49a5d8f68676730b4a02d8971171924d7c8e2146.tar.xz
main/ucpp: moved to main
Diffstat (limited to 'main')
-rw-r--r--main/ucpp/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/ucpp/APKBUILD b/main/ucpp/APKBUILD
new file mode 100644
index 0000000000..51436cdf8a
--- /dev/null
+++ b/main/ucpp/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=ucpp
+pkgver=1.3.2
+pkgrel=0
+pkgdesc="C preprocessor which is embeddable, quick, light and C99 compliant"
+url="https://code.google.com/p/ucpp/"
+arch="all"
+license="BSD"
+depends=""
+makedepends=""
+install=""
+subpackages=""
+source="https://ucpp.googlecode.com/files/ucpp-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/ucpp
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -dm755 "$pkgdir"/usr/bin
+ install -m755 ucpp "$pkgdir"/usr/bin/
+}
+
+md5sums="7b3f0d9381fd8518ae895a66235936d1 ucpp-1.3.2.tar.bz2"
+sha256sums="ab7ecc5ba2c2617fa14cd0a939c1e87ed789c59767fb39fc9b7d0ebf63a81635 ucpp-1.3.2.tar.bz2"
+sha512sums="a8a22162c0e26bc8281928f921f4e531108ba02658fd9c7a1760ae2fe938c910215aa4db02e5c7f0c5ea1aa66d89157bc780f2f13c57fa603de6c2d0c48cfd32 ucpp-1.3.2.tar.bz2"