Skip to content

Commit

Permalink
Adding PKGBUILDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Staszel authored and Mike Staszel committed Sep 26, 2009
1 parent 3371ce3 commit 72258e9
Show file tree
Hide file tree
Showing 704 changed files with 51,382 additions and 0 deletions.
Binary file added core/.DS_Store
Binary file not shown.
39 changes: 39 additions & 0 deletions core/acl/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Maintainer: Philipp Scholl <pscholl@bawue.de>
pkgname=acl
pkgver=2.2.47
pkgrel=1
pkgdesc="Library for filesystem ACL support"
arch=(arm)
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
groups=('base')
depends=('attr>=2.4.41')
makedepends=('libtool' 'gettext')
replaces=('xfsacl')
provides=('xfsacl')
conflicts=('xfsacl')
options=('!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_${pkgver}-1.tar.gz
acl-rpath.patch)
md5sums=('a11e4571a54a0b1ae83010d1e68a64c2'
'1fe58873e384657cac223689482e3a30')

build() {
cd $srcdir/acl-$pkgver
patch -Np0 -i $srcdir/acl-rpath.patch

autoconf
./configure --prefix=/usr
make || return 1
make prefix=$pkgdir/usr/ install install-lib install-dev

# tidy up
cd $pkgdir

mkdir -v lib
mv -v usr/lib/libacl.so* lib/
ln -sv ../../lib/libacl.so.1 usr/lib/libacl.so

mv -v usr/libexec/libacl.{a,la} usr/lib/
rm -rf $pkgdir/usr/libexec
}
25 changes: 25 additions & 0 deletions core/acl/acl-rpath.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
--- include/builddefs.in.orig 2009-03-20 18:56:14.000000000 -0300
+++ include/builddefs.in 2009-03-20 18:56:32.000000000 -0300
@@ -27,14 +27,14 @@
PKG_VERSION = @pkg_version@
PKG_PLATFORM = @pkg_platform@
PKG_DISTRIBUTION= @pkg_distribution@
-PKG_BIN_DIR = @bindir@
-PKG_SBIN_DIR = @sbindir@
-PKG_LIB_DIR = @libdir@@libdirsuffix@
-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
-PKG_INC_DIR = @includedir@
-PKG_MAN_DIR = @mandir@
-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
-PKG_LOCALE_DIR = @datadir@/locale
+PKG_BIN_DIR = $(DESTDIR)@bindir@
+PKG_SBIN_DIR = $(DESTDIR)@sbindir@
+PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@
+PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@
+PKG_INC_DIR = $(DESTDIR)@includedir@
+PKG_MAN_DIR = $(DESTDIR)@mandir@
+PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@
+PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale

CC = @cc@
AWK = @awk@
36 changes: 36 additions & 0 deletions core/attr/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
pkgname=attr
pkgver=2.4.43
pkgrel=2
pkgdesc="Extended attribute support library for ACL support"
arch=(arm)
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
groups=('base')
depends=('glibc')
makedepends=('gettext')
replaces=('xfsattr')
provides=('xfsattr')
conflicts=('xfsattr')
options=('!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${pkgver}-1.tar.gz)
md5sums=('91583a14bcbd637adaa9b07ea49c5d4b')

build() {
cd $startdir/src/attr-$pkgver
autoconf
./configure --prefix=/usr
sed -i -e 's/man2//g' man/Makefile
make || return 1
make prefix=${startdir}/pkg/usr install install-lib install-dev

# tidy up
cd "${startdir}/pkg"

mkdir -v lib
mv -v usr/lib/libattr.so* lib/
ln -sv ../../lib/libattr.so.1 usr/lib/libattr.so

mv -v usr/libexec/libattr.{a,la} usr/lib/
rm -rvf usr/libexec
}
20 changes: 20 additions & 0 deletions core/autoconf/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
pkgname=autoconf
pkgver=2.63
pkgrel=2
pkgdesc="A GNU tool for automatically configuring source code"
arch=('arm')
license=('GPL2' 'GPL3')
url="http://www.gnu.org/software/autoconf"
groups=('base-devel')
depends=('awk' 'm4' 'diffutils' 'bash')
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('43d76649fb86cd21d64f68c48d5abdcf')

build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf "${pkgdir}/usr/share/info"
}
23 changes: 23 additions & 0 deletions core/automake/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>

pkgname=automake
pkgver=1.11
pkgrel=1
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=(arm)
license=('GPL')
url="http://www.gnu.org/software/automake"
groups=('base-devel')
depends=('perl' 'bash')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('fab0bd2c3990a6679adaf9eeac0c6d2a')

build() {
cd "$srcdir/automake-$pkgver"

./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
}

# vim: set ft=sh ts=2 sw=2 et:
78 changes: 78 additions & 0 deletions core/bash/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# arm Maintainer: Philipp Scholl <pscholl@bawue.de>

pkgname=bash
_patchlevel=028
pkgver=4.0.$_patchlevel
pkgrel=1
pkgdesc="The GNU Bourne Again shell"
arch=(arm)
license=('GPL')
url="http://www.gnu.org/software/bash/bash.html"
groups=('base')
backup=(etc/profile.bash etc/skel/.bashrc etc/skel/.bash_profile)
depends=('readline>=5.2' 'glibc')
makedepends=(gzip)
provides=('sh')
source=(http://ftp.gnu.org/gnu/bash/bash-4.0.tar.gz
profile.bash bashrc)
for p in $(seq -w 001 $_patchlevel); do
source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-4.0-patches/bash40-$p)
done

build() {
cd ${startdir}/src/${pkgname}-4.0
for p in ../bash40-*; do
msg "applying patch ${p}"
patch -Np0 -i ${p} || return 1
done

./configure --prefix=/usr --with-curses --enable-readline \
--without-bash-malloc --with-installed-readline \
--bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
make DESTDIR=${startdir}/pkg install

install -D -m644 ${startdir}/src/profile.bash ${startdir}/pkg/etc/profile.bash

# for now, bash is our default /bin/sh
cd ${startdir}/pkg/bin
ln -s bash sh

mkdir -p $startdir/pkg/etc/skel/
install -D -m644 $startdir/src/bashrc $startdir/pkg/etc/skel/.bashrc
echo ". \$HOME/.bashrc" >$startdir/pkg/etc/skel/.bash_profile

rm -rf ${pkgdir}/usr/share/{info,man}
}
md5sums=('a90a1b5a6db4838483f05438e05e8eb9'
'c2fae355facefcac8a732cce877da194'
'3d2837e84645eac9bde399b58014bafa'
'bc7f4762443939bd7dccb42370f0d932'
'c2a4a4786a83ed4ec366c6a8924369a2'
'22e8a824eddba21a8fce10d7984c2aba'
'ed7cbced8c7c964323265522369a37a2'
'8ed86b7d31423d71ecf3148251d63512'
'5f447338cb98ff156cabf1fd9879d5f3'
'96e946cb66a4ca186cba1da44f1ee163'
'd3eb7b6f00d525e032478c33f51d46a8'
'340601c997ce569532417a7ae92248b8'
'0bd5ab96d514ffb1afbb8c7984b15146'
'32cb20f339a20e1e9fb37a5d18f18fca'
'33fd9e93d30a17988c19554ef26d56e0'
'a266b42df5e9ed7e8818a8b00d50e00b'
'86cac78f191a32cd1404f11264eb9b2a'
'bb41963d030bc61a20e8185367b337c5'
'f75455048a086528971252fd979b8755'
'34b2cd57271a452f4a26b39d77ff908f'
'99318eed8dcc05e10a14ae27043f175d'
'af3b9aaeadc71a5007bec2b98c751cde'
'eb7c7ddeb7e8451eb59228dca3329696'
'585d701b978ceb63967dc020db3a2234'
'7a70f2608f90f6ac0c2051e5f1c6c414'
'7a23aa41630dd4fe8d30108a200e2d96'
'82ba5fc9eb780eb57d8b7628a17b7d74'
'b26f9007ac4eef5c378f1abcb8959025'
'83bc844c82d0a30740e8d91a8238bfa9'
'a41c187f05ecab07389c18acc91214c6'
'fcc367e6471267d2e397257e703b817d')
6 changes: 6 additions & 0 deletions core/bash/bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

# Check for an interactive session
[ -z "$PS1" ] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
35 changes: 35 additions & 0 deletions core/bash/profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# /etc/profile
#

export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"

export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"

export LC_COLLATE="C"

export COLUMNS LINES

export PS1='[\u@\h \W]\$ '
export PS2='> '

umask 022

if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
fi

# load profiles from /etc/profile.d
# (to disable a profile, just remove execute permission on it)
if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then
for profile in /etc/profile.d/*.sh; do
if [ -x $profile ]; then
. $profile
fi
done
unset profile
fi
# End of file
25 changes: 25 additions & 0 deletions core/bash/profile.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# /etc/profile.bash
# Global settings for bash shells
#

PS1='[\u@\h \W]\$ '
PS2='> '
PS3='> '
PS4='+ '

export PS1 PS2 PS3 PS4

#In the future we may want to add more ulimit entries here,
# in the offchance that /etc/security/limits.conf is skipped
ulimit -Sc 0 #Don't create core files

if test "$TERM" = "xterm" -o \
"$TERM" = "xterm-color" -o \
"$TERM" = "xterm-256color" -o \
"$TERM" = "rxvt" -o \
"$TERM" = "rxvt-unicode" -o \
"$TERM" = "xterm-xfree86"; then
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
export PROMPT_COMMAND
fi
24 changes: 24 additions & 0 deletions core/bc/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
pkgname=bc
pkgver=1.06
pkgrel=1
pkgdesc="An arbitrary precision calculator language"
arch=('arm')
license=('GPL')
depends=('readline')
replaces=(bc-readline)
conflicts=(bc-readline)
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
build-fix.patch)
md5sums=('d44b5dddebd8a7a7309aea6c36fda117' 'fc7ecbd9e55ef04c6d3a495692626116')

build() {
CFLAGS="$CFLAGS -O3"
cd ${startdir}/src/${pkgname}-${pkgver}
patch -Np1 -i ${startdir}/src/build-fix.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man \
--infodir=/usr/share/info --with-readline
make LEX="flex -I" || return 1
make DESTDIR=${startdir}/pkg install
rm ${pkgdir}/usr/share/info/dir
}
13 changes: 13 additions & 0 deletions core/bc/build-fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l
--- bc-1.06/bc/scan.l 2000-09-13 22:25:47 +0400
+++ bc-1.06.my/bc/scan.l 2006-12-25 12:39:34 +0300
@@ -143,7 +143,9 @@

/* Definitions for readline access. */
extern FILE *rl_instream;
+#if 0
_PROTOTYPE(char *readline, (char *));
+#endif

/* rl_input puts upto MAX characters into BUF with the number put in
BUF placed in *RESULT. If the yy input file is the same as
46 changes: 46 additions & 0 deletions core/binutils/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>

# toolchain build order: kernel-headers->glibc->binutils->gcc-libs->gcc->binutils->glibc

pkgname=binutils
pkgver=2.19.1
pkgrel=3
_date=20090205
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('arm')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base-devel')
options=('!libtool' '!distcc' '!ccache')
depends=('glibc>=2.9' 'texinfo>=4.13a-3')
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
md5sums=('8fd8a7082814124917289eba9f2b46f1')

build() {
mkdir -p $srcdir/binutils-build
cd $srcdir/binutils-build

CC="gcc -L`pwd`/bfd/.libs/"
../configure --prefix=/usr \
--mandir=/usr/share/man --infodir=/usr/share/info \
--enable-shared || return 1

# fix man files install path
sed -i -e "s:mandir \= \/usr\/share:mandir \= ${pkgdir}\/usr\/share:" ${srcdir}/binutils-build/Makefile || return 1

# fix info files install path
sed -i -e "s:infodir \= \/usr\/share:infodir \= ${pkgdir}\/usr\/share:" ${srcdir}/binutils-build/Makefile || return 1

# This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
make configure-host || return 1

make tooldir=${startdir}/pkg/usr || return 1
make prefix=${startdir}/pkg/usr tooldir=${startdir}/pkg/usr install

install -m 644 ../include/libiberty.h ${startdir}/pkg/usr/include

# Remove these symlinks, with binutils prereleases they are not ABI stable.
# Programs should compile static to the .a file.
rm -f ${startdir}/pkg/usr/lib/lib{bfd,opcodes}.so
}

Loading

0 comments on commit 72258e9

Please sign in to comment.