diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-09-23 00:52:32 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-09-23 00:52:32 -0500 |
commit | f1f98b97552c5691d3299f75285305cc4f20b31c (patch) | |
tree | 0d5f5c0c8c288957cb2494a3857daa5067f0c75d /libre | |
parent | c46530cc357ee3e913d7243ad477caaa2ad2e147 (diff) |
pacman: armv7h port
Diffstat (limited to 'libre')
-rw-r--r-- | libre/pacman/PKGBUILD | 10 | ||||
-rw-r--r-- | libre/pacman/pacman.conf.armv7h | 113 |
2 files changed, 121 insertions, 2 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index 70d2de513..21e10ceae 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -12,7 +12,7 @@ pkgname=pacman pkgver=4.2.1 pkgrel=2.parabola2 pkgdesc="A library-based package manager with dependency support" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv7h') url="http://www.archlinux.org/pacman/" license=('GPL') groups=('base' 'base-devel') @@ -29,7 +29,7 @@ backup=('etc/pacman.conf' 'etc/makepkg.conf') options=('strip' 'debug') source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig} ensure-matching-database-and-package-version.patch - $pkgname.conf.{i686,x86_64} + $pkgname.conf.{i686,x86_64,armv7h} makepkg.conf $pkgname-keyring.service $pkgname-keyring.timer @@ -39,6 +39,7 @@ md5sums=('2a596fc8f723e99660c0869a74afcf47' 'e8f72afe6f417d11bd36ada042744fe4' '9c1454e48b2216b23f931e04d6dab1ee' '7279d086428df483fd60c33f7c88cf3e' + '9c1454e48b2216b23f931e04d6dab1ee' 'ce525a9af50f1d9b824806d2e5a4f0c8' '11a5fac02651041e44d65d66c3538030' '7fb448e0d2b5b22da5ddc0040378efb0' @@ -90,6 +91,11 @@ package() { mychost="x86_64-unknown-linux-gnu" myflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" ;; + armv7h) + mycarch="armv7h" + mychost="armv7l-unknown-linux-gnueabihf" + myflags="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" + ;; esac myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" diff --git a/libre/pacman/pacman.conf.armv7h b/libre/pacman/pacman.conf.armv7h new file mode 100644 index 000000000..d0c45c131 --- /dev/null +++ b/libre/pacman/pacman.conf.armv7h @@ -0,0 +1,113 @@ +# +# /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 +#GPGDir = /etc/pacman.d/gnupg/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -C - -f %u > %o +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +#UseDelta = 0.7 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +#Color +#TotalDownload +CheckSpace +#VerbosePkgLists + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional +#RemoteFileSigLevel = Required + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all Arch/Parabola packagers +# with `pacman-key --populate archlinux` and `pacman-key --populate parabola`. + +# +# 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. + +# NOTE: Nonprism is a particular repository that aims to provide software built +# and patched without services under global data surveillance programs like PRISM, +# XKeyscore and Tempora. For more info see: https://wiki.parabola.nu/Nonprism + +#[nonprism] +#Include = /etc/pacman.d/mirrorlist + +#[nonprism-testing] +#Include = /etc/pacman.d/mirrorlist + +#[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 + +# Parabola also supports community projects and personal repositories, to find +# them check out this wiki page: https://wiki.parabola.nu/Repositories + +# Parabola community repo +#[pcr] +#Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs |