blob: 52be3e2af83f244979f25542e0a180b0d53264cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Description: A set of utilities to manage software packages
# URL: http://www.fukt.bsnet.se/~per/pkgutils/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:
name=pkgutils
version=5.34.0
release=2
source=(http://crux.nu/files/$name-$version.tar.gz \
nutyx-2009.2.patch)
build () {
cd $name-$version
mkdir -p $PKG/usr/share
patch -Np1 -i ../nutyx-2009.2.patch
make DESTDIR=$PKG install
case `uname -m` in
x86_64)
sed -i "s/march=native/mtune=generic/" $PKG/etc/pkgmk.conf;;
i?86)
sed -i "s/native/i686/" $PKG/etc/pkgmk.conf;;
esac
mv $PKG/usr/man \
$PKG/usr/share/man
}
|