contrib/tkimg/Pkgfile

26 lines
693 B
Plaintext
Raw Normal View History

2011-01-11 01:14:30 +01:00
# Description: Library supporting additional image formats for Tcl/Tk
# URL: http://tkimg.sourceforge.net/
# Maintainer: Moritz Wilhelmy, moritz plus crux at wzff dot de
# Depends On: tk
# Nice to have: libpng libtiff libjpeg
name=tkimg
2011-06-18 22:13:39 +02:00
version=1.4
release=2
2011-06-18 22:13:39 +02:00
source=(http://downloads.sourceforge.net/tkimg/$name$version.tar.gz
Makefile.diff)
2011-01-11 01:14:30 +01:00
build() {
cd $name$version
patch < $SRC/Makefile.diff
2011-01-11 01:14:30 +01:00
# --exec-prefix determines the location of the *config.sh
# don't worry: they'll end up in /usr/lib. TkImg's use of autoconf is
# just plain weird, that's all
./configure --prefix=/usr --exec-prefix=/usr
make
make install INSTALL_ROOT=$PKG
}