summaryrefslogtreecommitdiff
path: root/repo/system/eudev.xibuild
blob: f92ae61a107d6a83d811a44a033bb6e03880f3b3 (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/bash

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

}