ifenslave: switch to /usr.
This commit is contained in:
parent
ab52b76b4d
commit
5853a770dd
|
@ -1,7 +1,9 @@
|
|||
# Template file for 'ifenslave'
|
||||
pkgname=ifenslave
|
||||
version=1.1.0
|
||||
revision=2
|
||||
revision=3
|
||||
nofetch=yes
|
||||
noextract=yes
|
||||
short_desc="Attach and detach slave interfaces to a bonding device"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
|
||||
|
@ -15,20 +17,11 @@ long_desc="
|
|||
The kernel must have support for bonding devices for ifenslave to be useful.
|
||||
This package supports 2.6.x kernels and the most recent 2.4.x kernels."
|
||||
|
||||
nofetch=yes
|
||||
noextract=yes
|
||||
|
||||
|
||||
do_build()
|
||||
{
|
||||
cd ${wrksrc} || return 1
|
||||
gcc -Wall -Wstrict-prototypes ${FILESDIR}/ifenslave.c \
|
||||
-o ifenslave || return 1
|
||||
do_build() {
|
||||
gcc -Wall -Wstrict-prototypes ${FILESDIR}/ifenslave.c -o ifenslave
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -D -m755 ${wrksrc}/ifenslave ${DESTDIR}/sbin/ifenslave
|
||||
install -D -m644 ${FILESDIR}/ifenslave.8 \
|
||||
${DESTDIR}/usr/share/man/man8/ifenslave.8 || return 1
|
||||
do_install() {
|
||||
vinstall ifenslave 755 usr/sbin
|
||||
vinstall ${FILESDIR}/ifenslave.8 755 usr/share/man/man8
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue