summaryrefslogtreecommitdiffstats
path: root/pkg-repgen/Pkgfile
blob: 0998d17909bcf4e478a9d354743a6c8cf383e194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Description: Outil de gestion de paquets binaires pour NuTyX
# URL: http://www.varlock.com et nutyx.org
# Maintainer: thierryn1 at hispeed dot ch
# Packager: thierryn1 at hispeed dot ch

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

build() {
ARCH_=`uname -m`
	cd pkg-repgen-$version
	make PREFIX=$PKG/usr install
	if [ "$ARCH_" == "x86_64" ]; then 
		sed -i "s/i686/x86_64/" $PKG/usr/bin/pkg-repgen
	fi
}