summaryrefslogtreecommitdiff
path: root/repo/system/eudev.xibuild
blob: 87eec78f435db68d1ae4247a6070272eda674112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

MAKEDEPS="make "
DEPS="gperf"

PKG_VER=3.2.10
SOURCE=https://dev.gentoo.org/~blueness/eudev/eudev-$PKG_VER.tar.gz
DESC="Programs for dynamic creation of device nodes"

build () {
    ./configure --prefix=/usr           \
            --bindir=/usr/sbin      \
            --sysconfdir=/etc       \
            --enable-manpages       \
            --disable-static
    make
}

package () {
    mkdir -pv $PKG_DEST/usr/lib/udev/rules.d
    mkdir -pv $PKG_DEST/etc/udev/rules.d

    make DESTDIR=$PKG_DEST install

}