mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-23 16:51:34 +01:00
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer: Grigory Kirillov <txgk@bk.ru>
|
|
pkgname=xfig
|
|
pkgver=3.2.8b
|
|
pkgrel=0
|
|
pkgdesc="Interactive drawing tool which runs under X Window System"
|
|
url="http://mcj.sourceforge.net"
|
|
arch="all"
|
|
license="custom"
|
|
makedepends="
|
|
libpng-dev
|
|
libjpeg-turbo-dev
|
|
tiff-dev
|
|
libxaw-dev
|
|
libxaw3d-dev
|
|
ghostscript-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="
|
|
http://downloads.sourceforge.net/mcj/xfig-$pkgver.tar.xz
|
|
COPYING
|
|
"
|
|
|
|
build() {
|
|
./configure \
|
|
--target="$CTARGET" \
|
|
--build="$CBUILD" \
|
|
--host="$CHOST" \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
# Muffle third test because it always fails.
|
|
echo 'int main(void){return 0;}' > tests/test3.c
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 ../COPYING -t "$pkgdir"/usr/share/licenses/"$pkgname"/
|
|
}
|
|
|
|
sha512sums="
|
|
5cc5e61977f97956baca77bf4bce09d0f47ea6fafb10055d0523f7cccd72d7af80e706daa62ae16df3fc54338b4f6cd4a6b71dc460311e65be749ec84fa662b3 xfig-3.2.8b.tar.xz
|
|
0289c266555028702e15749e557c7f17eaecc908f61458dbcfc118f547dbfb831351ec7cfce290368d343a7d7e9fa6914e81103312d94939938571f2acdc9424 COPYING
|
|
"
|