Commit 623d7542 authored by Natanael Copa's avatar Natanael Copa
Browse files

Merge remote branch 'clandmeter/master'

parents 57224119 57d548b1
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
pkgname=imagemagick
pkgver=6.4.9_9
_pkgver=6.4.9-9
pkgrel=0
pkgdesc="A collection of tools and libraries for many image formats"
url="http://www.imagemagick.org/"
license="GPL"
depends="zlib libpng libjpeg freetype"
makedepends="zlib-dev libpng-dev libjpeg-dev freetype-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.4.9-9.tar.gz"
build() {
cd "$srcdir/ImageMagick-${_pkgver}"
# fix doc dir, Gentoo bug 91911
sed -i -e \
's:DOCUMENTATION_PATH="${DATA_DIR}/doc/${DOCUMENTATION_RELATIVE_PATH}":DOCUMENTATION_PATH="/usr/share/doc/imagemagick":g' \
configure || die
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--without-threads \
--with-modules
make || return 1
make DESTDIR="$pkgdir" install
}
md5sums="2c4a2d0a171cce4b63f34c2360dec235 ImageMagick-6.4.9-9.tar.gz"
......@@ -3,7 +3,7 @@
pkgname=ruby
pkgver=1.8.7_p72
_pkgver=1.8.7-p72
pkgrel=1
pkgrel=2
pkgdesc="An object-oriented language for quick and easy programming"
url="http://www.ruby-lang.org/en/"
license="Ruby"
......@@ -17,6 +17,11 @@ source="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${pkgname}-${_pkgver}.tar.bz2"
build() {
cd "$srcdir/$pkgname-${_pkgver}"
# -fomit-frame-pointer makes ruby segfault, see gentoo bug #150413
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
export CFLAGS="$CFLAGS -fno-omit-frame-pointer -fno-strict-aliasing"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
......
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
pkgname=mysql
pkgver=5.0.75
pkgrel=3
pkgrel=4
pkgdesc="A fast SQL database server"
url="http://www.mysql.com/"
license='GPL'
......@@ -23,6 +23,7 @@ build() {
--without-embedded-server --with-openssl \
--without-mysqlfs --without-vio \
--without-bench --without-debug \
--with-unix-socket-path=/var/run/mysqld/mysqld.sock \
--with-innodb --mandir=/usr/share/man || return 1
make || return 1
make -j1 DESTDIR="$pkgdir/" install
......@@ -49,4 +50,4 @@ test() {
md5sums="a234f0a60a7f8c290d9875cba3a2c5a2 mysql-5.0.75.tar.gz
3ce9827b22d8fbbb29d83a91cbe98ffc mysql.initd
ca0e193da25d2f10e41334c6d83fa859 mysql.mycnf"
15a7e3ddd6a40bf5a1eb3a8c69d9c34c mysql.mycnf"
# /etc/mysql/my.cnf: The global mysql configuration file.
# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/dev-db/mysql/files/my.cnf,v 1.5 2008/11/14 01:49:37 robbat2 Exp $
#
# This file can be simultaneously placed in three places:
# 1. /etc/mysql/my.cnf to set global options.
# 2. /var/lib/mysql/my.cnf to set server-specific options.
# 3. ~/.my.cnf to set user-specific options.
#
# One can use all long options that the program supports.
# Run the program with --help to get a list of them.
#
# The following values assume you have at least 32M RAM!
[client]
#password = my_password
port = 3306
socket = /var/run/mysqld/mysqld.sock
port = 3306
socket = /var/run/mysqld/mysqld.sock
[safe_mysqld]
err-log = /var/log/mysql/mysql.err
err-log = /var/log/mysql/mysql.err
[mysqld]
#skip-networking
# this disabled mysqld from listing on any interface.
# Use localhost to connect to socket
# If you need networking comment out the following line
skip-networking
# If innodb is needed commend next line
# if not leave this to increase performance
skip-innodb
innodb_file_per_table
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
log = /var/log/mysql/mysql.log
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
# Only enable this if you really need it
# eats resources.
#log = /var/log/mysql/mysql.log
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-locking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
[mysqldump]
quick
set-variable = max_allowed_packet=1M
set-variable = max_allowed_packet=1M
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
[isamchk]
set-variable = key_buffer=16M
set-variable = key_buffer=16M
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment