diff options
author | ScrumpyJack <scrumpyjack@me.com> | 2014-10-09 17:37:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-10 08:56:12 +0000 |
commit | 7133d61f1917177d5ee38862a62102f42e49acd5 (patch) | |
tree | f485af473272c1781d5653895362da1154ea7809 /testing/fltk | |
parent | 5e9c880632acdd45bf81ff9ff4480d3e96fd6962 (diff) | |
download | aports-7133d61f1917177d5ee38862a62102f42e49acd5.tar.bz2 aports-7133d61f1917177d5ee38862a62102f42e49acd5.tar.xz |
testing/fltk: new aport
http://fltk.org
A cross-platform C++ GUI toolkit
ref #3275
Diffstat (limited to 'testing/fltk')
-rw-r--r-- | testing/fltk/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/fltk/APKBUILD b/testing/fltk/APKBUILD new file mode 100644 index 0000000000..8fcdc0aada --- /dev/null +++ b/testing/fltk/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: ScrumpyJack <scrumpyjack@me.com> +# Maintainer: +pkgname=fltk +pkgver=1.3.2 +pkgrel=0 +pkgdesc="A cross-platform C++ GUI toolkit" +url="http://fltk.org" +arch="all" +license="GPL" +depends="" +depends_dev="libx11-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://fltk.org/pub/fltk/$pkgver/$pkgname-$pkgver-source.tar.gz" + +_builddir=$srcdir/${pkgname}-${pkgver} +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" + ./configure --prefix=/usr + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="9f7e707d4fb7a5a76f0f9b73ff70623d fltk-1.3.2-source.tar.gz" +sha256sums="176044df94f31bd53a5806cf5054ca78b180bf9ae27ce47649608833695ee4a4 fltk-1.3.2-source.tar.gz" +sha512sums="9372a34d8dfc4b4ece7632683c1c92f9ea9e538ba6eec08bec69615e2b2c885957d229a5ec495830f673b6a059f55a94b61727e8eb1fb7b3bd37005dc0b8312e fltk-1.3.2-source.tar.gz" |