kmod remove xsltproc build dependency
This commit is contained in:
1 parent
e366be348f
commit
d52f57dbc1
1 file changed
+6
-1
@@ -15,6 +15,8 @@ group=(sys.apps)
|
|||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
|
export PATH=$HOME:$PATH
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
prepare(){
|
prepare(){
|
||||||
@@ -27,6 +29,9 @@ setup(){
|
|||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/lib64/ \
|
--libdir=/lib64/ \
|
||||||
--bindir=/bin
|
--bindir=/bin
|
||||||
|
# remove xsltproc dependency
|
||||||
|
rm -f man/Makefile
|
||||||
|
echo -e "all:\ninstall:" > man/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
@@ -37,7 +42,7 @@ package(){
|
|||||||
make install -j`nproc`
|
make install -j`nproc`
|
||||||
mkdir -p ${DESTDIR}/usr/bin
|
mkdir -p ${DESTDIR}/usr/bin
|
||||||
for tool in {ins,ls,rm,dep}mod mod{probe,info}; do
|
for tool in {ins,ls,rm,dep}mod mod{probe,info}; do
|
||||||
ln -s ../../bin/kmod "${DESTDIR}/usr/bin/$tool"
|
ln -s ../../bin/kmod "${DESTDIR}/usr/bin/$tool"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user