```ruby
require 'mkmf'

have_library "leveldb" or abort "Can't find leveldb library."

create_makefile "leveldb-native/leveldb_native"
```

Allow configuration of lib and include path through 'leveldb' name
user
```ruby
require 'mkmf'

dir_config('leveldb')

have_library "leveldb" or abort "Can't find leveldb library."

create_makefile "leveldb-native/leveldb_native"
```
assistant