forked from ports/contrib
fltk: disable static and it installed outside of PKG, and pkgfile cleanup
This commit is contained in:
parent
346750d270
commit
294b03f9f0
11
fltk/Pkgfile
11
fltk/Pkgfile
@ -2,11 +2,11 @@
|
||||
# URL: http://www.fltk.org/
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: Ivan Lyanguzov, tzong at tzong dot spb dot ru
|
||||
# Depends on: xorg xorg-libsm xorg-libice
|
||||
# Depends on: xorg-libx11 xorg-libsm xorg-libice
|
||||
|
||||
name=fltk
|
||||
version=1.1.7
|
||||
release=2
|
||||
release=3
|
||||
source=(http://ftp.easysw.com/pub/fltk/$version/fltk-$version-source.tar.bz2)
|
||||
|
||||
build() {
|
||||
@ -15,14 +15,17 @@ build() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-threads \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-xft
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -d $PKG/usr/man/{man1,man3}
|
||||
install -m644 $PKG/usr/share/man/man1/* -t $PKG/usr/man/man1/
|
||||
install -m644 $PKG/usr/share/man/man3/* -t $PKG/usr/man/man3/
|
||||
install -m 0644 $PKG/usr/share/man/man1/* -t $PKG/usr/man/man1/
|
||||
install -m 0644 $PKG/usr/share/man/man3/* -t $PKG/usr/man/man3/
|
||||
|
||||
rm -r $PKG/usr/share
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user