2011-11-09 19:18:13 +11:00
|
|
|
# Description: An open source SVG editor.
|
|
|
|
# URL: http://www.inkscape.org
|
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Huynh Ngoc Chau Tran, tran dot huynh at laposte dot net
|
2011-11-09 19:44:25 +11:00
|
|
|
# Depends on: boehm-gc boost gsl gtkmm intltool lcms libart_lgpl popt
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
name=inkscape
|
2013-07-16 00:52:14 +10:00
|
|
|
version=0.48.4
|
|
|
|
release=1
|
2012-06-15 00:48:46 +10:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2
|
2013-07-16 00:52:14 +10:00
|
|
|
spuriouscomma.patch)
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2013-07-16 00:52:14 +10:00
|
|
|
patch -p0 -i $SRC/spuriouscomma.patch
|
2012-06-15 00:48:46 +10:00
|
|
|
|
2011-11-09 19:18:13 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-nls
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2012-03-02 23:29:46 +11:00
|
|
|
rm \
|
|
|
|
$PKG/usr/man/man1/inkscape.??.1 \
|
|
|
|
$PKG/usr/man/man1/inkscape.zh_TW.1
|
|
|
|
|
2011-11-09 19:18:13 +11:00
|
|
|
rm -r \
|
|
|
|
$PKG/usr/share/locale \
|
2012-03-02 23:29:46 +11:00
|
|
|
$PKG/usr/man/?? \
|
|
|
|
$PKG/usr/man/zh_TW
|
2011-11-09 19:18:13 +11:00
|
|
|
|
|
|
|
find $PKG/usr/share/inkscape -name README -exec rm -f {} +
|
2012-03-02 23:29:46 +11:00
|
|
|
python -mcompileall $PKG
|
2011-11-09 19:18:13 +11:00
|
|
|
}
|