summaryrefslogtreecommitdiffstats
path: root/extra/librsvg/Pkgfile
blob: 5f0df7ce21e5b8f3a92fc448d04fc9e4c696e067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Description: Librairie SVG
# URL: http://librsvg.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtk, libxml2, libgsf, libcroco, xorg-libxinerama, xorg-libxrandr, xorg-libxdamage, xorg-libxcursor
# Run on: gtk,libxml2,libgsf,libcroco

name=librsvg
version=2.32.1
release=2
source=(http://ftp.gnome.org/pub/gnome/sources/$name/2.32/$name-$version.tar.bz2)

build() {
	cd $name-$version
	./configure --prefix=/usr \
                --enable-gtk-theme \
		--disable-static \
		--disable-mozilla-plugin \
                --enable-pixbuf-loader \
		--with-croco \
		--disable-static \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
                --disable-gtk-doc
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
	sed -i "s/python/python2/" $PKG/usr/bin/rsvg
}