forked from ports/contrib
gdk-pixbuf: Pkgfile cleanup
This commit is contained in:
parent
7cce0ad9bd
commit
b15865bcd9
@ -2,22 +2,23 @@
|
||||
# URL: http://developer.gnome.org/arch/imaging/gdkpixbuf.html
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Depends on: libart_lgpl, gtk1, libtiff
|
||||
# Depends on: libart_lgpl gtk1 libtiff
|
||||
|
||||
name=gdk-pixbuf
|
||||
version=0.22.0
|
||||
release=1
|
||||
source=(http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/0.22/$name-$version.tar.bz2)
|
||||
source=(http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/${version%.*}/gdk-pixbuf-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd gdk-pixbuf-$version
|
||||
export CFLAGS="$CFLAGS -L$PKG/usr/lib"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-gnome
|
||||
|
||||
make && make DESTDIR=$PKG install
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/share/gnome
|
||||
sed -i -e "s|-L$PKG/usr/lib||g" $PKG/usr/lib/*.la
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user