diff options
-rw-r--r-- | community/ndisc6/PKGBUILD | 2 | ||||
-rw-r--r-- | community/nload/PKGBUILD | 2 | ||||
-rw-r--r-- | core/udev/PKGBUILD | 2 | ||||
-rw-r--r-- | extra/icu/PKGBUILD | 2 | ||||
-rw-r--r-- | extra/ncftp/PKGBUILD | 1 | ||||
-rw-r--r-- | extra/ruby/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/grub2/PKGBUILD | 29 | ||||
-rw-r--r-- | ~fauno/minidjvu/PKGBUILD | 24 |
8 files changed, 60 insertions, 4 deletions
diff --git a/community/ndisc6/PKGBUILD b/community/ndisc6/PKGBUILD index 206db2574..c44d42ffd 100644 --- a/community/ndisc6/PKGBUILD +++ b/community/ndisc6/PKGBUILD @@ -5,7 +5,7 @@ pkgname=ndisc6 pkgver=1.0.2 pkgrel=1 pkgdesc="A collection of IPv6 networking utilities - ndisc6, rdisc6, tcptraceroute6, tracert6, rltraceroute6, tcpspray6" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.remlab.net/ndisc6/" license=("GPL") depends=('glibc') diff --git a/community/nload/PKGBUILD b/community/nload/PKGBUILD index 2518e64ee..1a5ea0e3d 100644 --- a/community/nload/PKGBUILD +++ b/community/nload/PKGBUILD @@ -8,7 +8,7 @@ pkgdesc='Console application which monitors network traffic and bandwidth usage url='http://www.roland-riegel.de/nload' license=('GPL2') depends=('ncurses' 'gcc-libs') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') source=("$url/$pkgname-$pkgver.tar.gz") md5sums=('9b97c37fe1474f1da42f265fead24081') diff --git a/core/udev/PKGBUILD b/core/udev/PKGBUILD index 44a8705ca..1e290da16 100644 --- a/core/udev/PKGBUILD +++ b/core/udev/PKGBUILD @@ -7,7 +7,7 @@ pkgbase="udev" pkgname=('udev' 'udev-compat') pkgver=175 -pkgrel=1 +pkgrel=1.1 arch=(i686 x86_64 mips64el) url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" license=('GPL') diff --git a/extra/icu/PKGBUILD b/extra/icu/PKGBUILD index 6689b196a..d66fbebf8 100644 --- a/extra/icu/PKGBUILD +++ b/extra/icu/PKGBUILD @@ -4,7 +4,7 @@ pkgname=icu pkgver=4.8.1.1 -pkgrel=1 +pkgrel=1.1 pkgdesc="International Components for Unicode library" arch=(i686 x86_64 'mips64el') url="http://www.icu-project.org/" diff --git a/extra/ncftp/PKGBUILD b/extra/ncftp/PKGBUILD index 856996539..d91b35031 100644 --- a/extra/ncftp/PKGBUILD +++ b/extra/ncftp/PKGBUILD @@ -32,3 +32,4 @@ package() { install -Dm644 doc/LICENSE.txt \ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } +md5sums=('b05c7a6d5269c04891f02f43d4312b30') diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD index 29c8f035a..36e4a47c4 100644 --- a/extra/ruby/PKGBUILD +++ b/extra/ruby/PKGBUILD @@ -47,3 +47,5 @@ package_ruby-docs() { install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}/BSDL" } md5sums=('096758c3e853b839dc980b183227b182') +md5sums=('65401fb3194cdccd6c1175ab29b8fdb8') +sha1sums=('f63c116411b981ef54c2caeefb9ccc4d71a5d2cf') diff --git a/libre/grub2/PKGBUILD b/libre/grub2/PKGBUILD index 91b59e5e0..fcad1a38e 100644 --- a/libre/grub2/PKGBUILD +++ b/libre/grub2/PKGBUILD @@ -11,6 +11,7 @@ _grub2_ntldr_ver=17 _grub2_915_ver=7 pkgname=('grub2-common' 'grub2-bios' 'grub2-efi-i386') +[ "$CARCH" = "mips64el" ] && pkgname=('grub2-common' 'grub2-loongson') pkgbase="grub2" pkgver='1.99' pkgrel=4 @@ -61,6 +62,7 @@ build() { _HOST="${CARCH}" build_grub2-common_and_bios + [ "$CARCH" = "mips64el" ] || \ build_grub2-efi } @@ -98,6 +100,17 @@ build_grub2-common_and_bios() { # mkdir ${srcdir}/grub2_bios-${pkgver}/BUILD_BIOS # cd ${srcdir}/grub2_bios-${pkgver}/BUILD_BIOS + if [ "$CARCH" = "mips64el" ]; then + CFLAGS="-march=loongson2f" ./configure \ + --enable-mm-debug \ + --host=${CARCH}-unknown-linux-gnu \ + --enable-grub-mkfont --prefix=/usr \ + --bindir=/bin --sbindir=/sbin \ + --mandir=/usr/share/man --infodir=/usr/share/info \ + --sysconfdir=/etc --enable-nls \ + --program-transform-name=s,grub,grub, + CFLAGS="-march=loongson2f" make + else CFLAGS="" ./configure \ --with-platform=pc --enable-mm-debug \ ${_EFIEMU} --host=${CARCH}-unknown-linux-gnu \ @@ -107,6 +120,7 @@ build_grub2-common_and_bios() { --sysconfdir=/etc --enable-nls \ --program-transform-name=s,grub,grub, CFLAGS="" make + fi } build_grub2-efi() { @@ -204,3 +218,18 @@ package_grub2-efi-i386() { rm -rf ${pkgdir}/{boot,bin,sbin,etc,usr/share} rm ${pkgdir}/usr/lib/grub/{grub-mkconfig_lib,update-grub_lib} } + +# Same as -bios but different pkgdesc +package_grub2-loongson() { + pkgdesc="The GNU GRand Unified Bootloader version 2 - Built for Loogson" + depends=(grub2-common=${epoch}:${pkgver}) + replaces=('grub2' 'grub2-libre') + provides=('grub2' 'grub2-libre') + + cd ${srcdir}/grub2_bios-${pkgver} + make DESTDIR=${pkgdir} install + + ## remove non platform-specific files + rm -rf ${pkgdir}/{boot,bin,sbin,etc,usr/share} + rm ${pkgdir}/usr/lib/grub/{grub-mkconfig_lib,update-grub_lib} +} diff --git a/~fauno/minidjvu/PKGBUILD b/~fauno/minidjvu/PKGBUILD new file mode 100644 index 000000000..42950e5d2 --- /dev/null +++ b/~fauno/minidjvu/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Orivej Desh <masecretaire@gmx.fr> +# Maintainer: Orivej Desh <masecretaire@gmx.fr> +pkgname=minidjvu +pkgver=0.8 +pkgrel=2 +pkgdesc="Highly efficient DjVu encoder for black-and-white images" +arch=('i686' 'x86_64' 'mips64el') +url="http://minidjvu.sourceforge.net/" +license=('GPL') +depends=("gcc-libs" "libtiff") +options=("!libtool") +source=("http://downloads.sourceforge.net/project/minidjvu/minidjvu/$pkgver/minidjvu-$pkgver.tar.gz") +md5sums=('b354eb74d83c6e2d91aab2a6c2879ba7') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --libdir=/usr/lib + sed -i -e 's#/usr/bin/gzip#/bin/gzip#' Makefile + sed -i -e 's#-9 \$(MANDIR)#-9 $(DESTDIR)$(MANDIR)#' Makefile + make + mkdir -p "$pkgdir"/usr/{bin,lib,share/man/man1} + make DESTDIR="$pkgdir/" install +} + |