From 8cbe803990a8f2bc2885e1484a254196e8a6edd7 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernandez Date: Sun, 29 May 2011 19:26:29 -0500 Subject: Commiting libre package pacman-3.5.2-1.1 --- libre/pacman/PKGBUILD | 11 ++++- libre/pacman/pacman.conf.mips64el | 86 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 libre/pacman/pacman.conf.mips64el diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index dfdc56f09..33ea3f364 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -5,7 +5,7 @@ pkgname=pacman pkgver=3.5.2 pkgrel=1.1 pkgdesc="A library-based package manager with dependency support" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.archlinux.org/pacman/" license=('GPL') groups=('base') @@ -18,10 +18,13 @@ options=(!libtool) source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz pacman.conf pacman.conf.x86_64 + pacman.conf.mips64el makepkg.conf) + md5sums=('b4f1fdbc17100923071ebe8fe9377be5' 'c7e6dbee04b7c492febea4366519b91d' '8809642ed398d2b9b98c5974b8b5e348' + '3b2e740853e3d1463885675809d4c6ff' 'a8684989d3dfad5a6e1bcf95af3e571b') # keep an upgrade path for older installations @@ -53,6 +56,12 @@ package() { mychost="x86_64-unknown-linux-gnu" myflags="-march=x86-64 " ;; + mips64el) + install -m644 $srcdir/pacman.conf.mips64el $pkgdir/etc/pacman.conf + mycarch="mips64el" + mychost="mips64el-unknown-linux-gnu" + myflags="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop " + ;; esac install -m644 $srcdir/makepkg.conf $pkgdir/etc/ # set things correctly in the default conf file diff --git a/libre/pacman/pacman.conf.mips64el b/libre/pacman/pacman.conf.mips64el new file mode 100644 index 000000000..caee508fd --- /dev/null +++ b/libre/pacman/pacman.conf.mips64el @@ -0,0 +1,86 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +HoldPkg = pacman glibc +# If upgrades are available for these packages they will be asked for first +SyncFirst = pacman +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#XferCommand = /usr/bin/curl -C - -f %u > %o +#CleanMethod = KeepInstalled +Architecture = mips64el + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options (all disabled by default) +#UseSyslog +#ShowSize +#UseDelta +#TotalDownload +#CheckSpace + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[libre-testing] +#Include = /etc/pacman.d/mirrorlist + +[libre] +Include = /etc/pacman.d/mirrorlist + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#Server = file:///home/custompkgs + -- cgit v1.2.3-54-g00ecf