# Description: Outil permettant de convertir les paquets RPM en TAR.GZ
# URL: http://www.crux.nu
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=rpm2targz
version=1.0.4
release=2
source=(http://www.nutyx.org/files/rpm2targz \
	http://www.nutyx.org/files/rpmoffset.c)

build() {
	gcc $CFLAGS rpmoffset.c -o rpmoffset
	install -D -m 0755 rpm2targz $PKG/usr/bin/rpm2targz
	install -D -m 0755 rpmoffset $PKG/usr/lib/rpm2targz/rpmoffset
}