Last active
August 29, 2015 14:02
-
-
Save samschlegel/0436f7f00469ee7ca947 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=edelib | |
pkgver=2.1 | |
pkgrel=1 | |
pkgdesc="Component construction library for Equinox Desktop Environment" | |
arch=('i686' 'x86_64') | |
url="http://equinox-project.org/" | |
_watch="http://equinox-project.org/wiki/Download" | |
license=('LGPL') | |
depends=('fltk' 'python' 'libdbus') | |
makedepends=('ftjam') | |
options=('staticlibs') | |
source=(http://downloads.sourceforge.net/project/ede/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) | |
md5sums=('2e6ee2e1ceaea327967ed55868a1cb9f') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
./autogen.sh | |
CFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC" | |
CXXFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC" | |
MAKEFLAGS="-j2" | |
./configure --prefix=/usr | |
jam | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
# install -d "$pkgdir"/usr/{bin,lib} | |
# errors for no good reason? | |
jam prefix="$pkgdir/usr" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment