summaryrefslogtreecommitdiffstats
path: root/pkgmk/Pkgfile
blob: ae91d9249043d88a9a9d79e01f74a748d943707d (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: L'outil pour la production des paquets binaires pour
# NuTyX
# URL: http://www.nutyx.org
# Maintainer: kiao.no-ip.info/NuTyX/git/?p=pkgmk;a=summary
# Packager: thierryn1 at hispeed dot ch
# Depends on: pkg-get
# Run on:

name=pkgmk
version=0.0.1
release=1
source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz)

build()
{
	ARCH_=`uname -m`

   cd $name-$version
   make clean
   make all
   make DESTDIR=$PKG install
	if [ "$ARCH_" == "x86_64" ]; then
		sed -i "s/i686/x86_64/" $PKG/usr/bin/pkg-repgen
	fi
}