2008-02-29 03:00:03 +01:00
|
|
|
# Description: GTK+2 color selector
|
|
|
|
# URL: http://gcolor2.sourceforge.net/
|
|
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
|
|
# Packager: Vincenzo Colosimo, vico at bicisport dot de
|
2008-03-06 17:29:58 +01:00
|
|
|
# Depends on: gtk p5-xml-parser
|
2008-02-29 03:00:03 +01:00
|
|
|
|
|
|
|
name=gcolor2
|
|
|
|
version=0.4
|
2015-06-01 12:16:03 +02:00
|
|
|
release=4
|
|
|
|
source=(http://download.sourceforge.net/$name/$name-$version.tar.bz2 \
|
|
|
|
$name-$version-amd64.patch)
|
2008-02-29 03:00:03 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2010-10-18 16:50:16 +02:00
|
|
|
|
2015-06-01 12:16:03 +02:00
|
|
|
patch -p1 -i $SRC/$name-$version-amd64.patch
|
|
|
|
|
2010-10-18 16:50:16 +02:00
|
|
|
sed -i configure \
|
|
|
|
-e 's|gentoo_ltmain_version=.*|gentoo_ltmain_version="1.5.18"|'
|
2015-06-01 12:16:03 +02:00
|
|
|
|
2008-02-29 03:00:03 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-nls
|
2010-10-18 16:50:16 +02:00
|
|
|
|
2008-02-29 03:00:03 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|