mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/ms-sys: build without gettext
its not worth the extra bloat only to have swedish translation available
This commit is contained in:
parent
6c55fa97d8
commit
6272dd28c0
@ -2,31 +2,29 @@
|
||||
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
||||
pkgname=ms-sys
|
||||
pkgver=2.2.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A tool for creating Microsoft compatible boot records"
|
||||
url="http://ms-sys.sourceforge.net/"
|
||||
arch="all"
|
||||
license="GPL2+"
|
||||
depends=""
|
||||
depends_dev=""
|
||||
makedepends="gettext"
|
||||
install=""
|
||||
subpackages="$pkgname-doc $pkgname-lang"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://downloads.sourceforge.net/ms-sys/ms-sys-$pkgver.tar.gz"
|
||||
_builddir="$srcdir"/ms-sys-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
make LDFLAGS="-lintl" || return 1
|
||||
make bin/ms-sys || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make \
|
||||
PREFIX="/usr" \
|
||||
MANDIR="/usr/share/man" \
|
||||
DESTDIR="$pkgdir" install || return 1
|
||||
rm -f "$pkgdir"/usr/lib/*.la
|
||||
install -Dm755 bin/ms-sys "$pkgdir"/usr/bin/ms-sys || return 1
|
||||
install -Dm644 man/ms-sys.1 "$pkgdir"/usr/share/man/man1/ms-sys.1 \
|
||||
|| return 1
|
||||
|
||||
}
|
||||
|
||||
md5sums="659fb46f1b014abe64ae7d635c5bc1f8 ms-sys-2.2.1.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user