Jaromir Capik 6ace24
#requires libtool
Jaromir Capik 6ace24
Jaromir Capik 6ace24
cd $SRC/redhat-rpm-config-*
Jaromir Capik 6ace24
Jaromir Capik 6ace24
# makefile has been removed :/
Jaromir Capik 6ace24
# make install
Jaromir Capik 6ace24
Jaromir Capik 6ace24
RCCDIR=/usr/lib/rpm/redhat
Jaromir Capik 6ace24
RPMCFGDIR=/usr/lib/rpm
Jaromir Capik 6ace24
RPMFATTR=/usr/lib/rpm/fileattrs
Jaromir Capik 6ace24
Jaromir Capik 6ace24
mkdir -p /usr/lib/rpm/redhat
Jaromir Capik 6ace24
install -p -m 644 -t $RCCDIR macros rpmrc
Jaromir Capik 6ace24
install -p -m 444 -t $RCCDIR redhat-hardened-*
Jaromir Capik 6ace24
install -p -m 755 -t $RCCDIR config.*
Jaromir Capik 6ace24
install -p -m 755 -t $RCCDIR dist.sh rpmsort symset-table kmodtool
Jaromir Capik 6ace24
install -p -m 755 -t $RCCDIR brp-*
Jaromir Capik 6ace24
Jaromir Capik 6ace24
install -p -m 755 -t $RCCDIR find-*
Jaromir Capik 6ace24
mkdir -p $RCCDIR/find-provides.d
Jaromir Capik 6ace24
install -p -m 644 -t $RCCDIR/find-provides.d firmware.prov modalias.prov
Jaromir Capik 6ace24
Jaromir Capik 6ace24
mkdir -p $RPMCFGDIR/macros.d
Jaromir Capik 6ace24
install -p -m 644 -t $RPMCFGDIR/macros.d macros.*
Jaromir Capik 6ace24
Jaromir Capik 6ace24
mkdir -p $RPMFATTR
Jaromir Capik 6ace24
install -p -m 644 -t $RPMFATTR *.attr
Jaromir Capik 6ace24
install -p -m 755 -t $RPMCFGDIR kmod.prov
Jaromir Capik 6ace24
Jaromir Capik 6ace24
cp -p /usr/share/libtool/config/config.{guess,sub} $RCCDIR/