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

DEPS=()

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

}