summaryrefslogtreecommitdiffstats
path: root/base/rpm2targz/Pkgfile
blob: ff50d4e7fa4fc558dd0c7be5025e58638c64afec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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
}