summaryrefslogtreecommitdiffstats
path: root/base/rpm2targz/Pkgfile
blob: ff4bcbdde3efd5b7aadba131d703ab5e727914a1 (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://kiao.no-ip.info/NuTyX/files/rpm2targz \
	http://kiao.no-ip.info/NuTyX/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
}