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

DEPS=()

SOURCE=https://dev.gentoo.org/~blueness/eudev/eudev-3.2.10.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

}