milis/talimatname/genel/m/maclookup/talimat

20 lines
445 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: IEEE MA-L/OUI açık listesinden MAC adresi görüntüleme aracı.
2017-06-27 18:35:15 +02:00
# URL: https://github.com/paraxor/maclookup
2017-10-27 20:46:27 +02:00
# Paketçi: yakar (aydin@komutan.org)
# Gerekler:
2017-06-27 18:35:15 +02:00
2017-10-28 14:10:23 +02:00
isim=maclookup
surum=0.4
devir=1
kaynak=(https://github.com/paraxor/$isim/archive/${surum}.tar.gz)
2017-06-27 18:35:15 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "$SRC/$isim-$surum"
2017-06-27 18:35:15 +02:00
2017-10-28 14:10:23 +02:00
mkdir -p "$PKG/usr/share/$isim"
2017-06-27 18:35:15 +02:00
2017-10-28 14:10:23 +02:00
install -Dm755 $isim.sh "$PKG/usr/bin/$isim"
2017-06-27 18:35:15 +02:00
2017-10-28 14:10:23 +02:00
sh $isim.sh -u -f "$PKG/usr/share/$isim/oui.txt"
2017-06-27 18:35:15 +02:00
}